Fasd (pronounced similar to "fast") is a command-line productivity booster. Fasd offers quick access to files and directories for POSIX shells. It is inspired by tools like autojump, z and v.
Plugin for fish shell to integrate fasd into efficiency-seeking workflows.
On OS X homebrew has a keg for fasd:
$ brew install fasd
$ fisher gretel/fasd
Pasting from fasd's documentation on the bash aliases:
alias a='fasd -a' # any alias s='fasd -si' # show / search / select alias d='fasd -d' # directory alias f='fasd -f' # file alias sd='fasd -sid' # interactive directory selection alias sf='fasd -sif' # interactive file selection alias z='fasd_cd -d' # cd, same functionality as j in autojump alias zz='fasd_cd -d -i' # cd with interactive selection
These are available (as functions) in fish. Let's try one out:
$ a fish 4 /Users/tom/.dotfiles/.config/fish 51.5272 /Users/tom/.config/fish 64.5534 /Users/tom/.config/fisherman
Easy, huh? fasd does support fuzzy search, see the asciiscast:
Hope you have a fast swim!