lsgo is a tiny command-line directory traversal tool:
lsgoIt opens an inline picker. Directories are highlighted
as navigable targets, files are muted context, and typing filters the directory
targets. Press Tab to enter the highlighted directory, and press Enter to accept it.
Arrow keys are also supported.
uv tool install git+https://github.com/vijja-w/lsgolsgo needs a shell function so it can change the current shell directory:
lsgo init
# zsh
source ~/.zshrc
# bash
source ~/.bashrclsgo init supports bash and zsh.
- Type letters: filter directories
- Backspace: delete query character, or go back if the query is empty
- Tab: enter highlighted directory
- Right arrow: enter highlighted directory
- Left arrow: move to parent directory
- Up/Down arrows: move highlighted entry, loading more entries as needed
- PageUp/PageDown: move by a visible page
- Shift+Tab: go back to the previous directory
- Enter: accept highlighted/current directory
- Ctrl+C or Esc: cancel
- Ctrl+L: clear query