- Notifications
You must be signed in to change notification settings - Fork0
gregorias/fasd.fish
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
A plugin forfish to integratefasd into efficiency-seeking workflows:
Fasd (pronounced similar to "fast") is a command-line productivity booster.Fasd offers quick access to files and directories for POSIX shells. It isinspired by tools like autojump, z and v. Fasd keeps track of files anddirectories you have accessed, so that you can quickly reference them in thecommand line.
You needfasd. On macOS, install withHomebrew:
brew install fasd
Install withfisher
:
fisher install gregorias/fasd.fish
Add the setup command to yourconfig.fish
:
fasd_setup
Installing the plugin will enable the following functions (same as thebash
aliases):
alias a="fasd -a"# anyalias s="fasd -si"# show / search / selectalias d="fasd -d"# directoryalias f="fasd -f"# filealias sd="fasd -sid"# interactive directory selectionalias sf="fasd -sif"# interactive file selectionalias z="fasd_cd -d"# cd, same functionality as j in autojumpalias zz="fasd_cd -d -i"# cd with interactive selection
Let's try one out:
$ a fish1.458 /Users/tom/.dotfiles/.config/fish/config.fish2.349 /Users/tom/Sync/code/pycopy/bin/activate.fish4.5339 /Users/tom/.config/fish/config.fish4.66506 /Users/tom/.config/fish/functions/update.fish4.6758 /Users/tom/Sync/prjcts/ExpressLRS/src/bin/activate.fish12 /Users/tom/.config/fish
For more info, check out the completefasd documentation.
About
Fish plugin for fasd