8func openBrowser(url string) error {
9 err := runCmd("xdg-open", url)
10 if e, ok := err.(*exec.Error); ok && e.Err == exec.ErrNotFound {
11 return errors.New("xdg-open: command not found - install xdg-utils from ports(8)")
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list