Plugin for fish-shell to integrate fasd
Switch branches/tags
Clone or download
Tom Hensel
Tom Hensel tweak
Latest commit a0a3c35 May 22, 2016
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
completions revamp plugin May 22, 2016
conf.d cleanup May 22, 2016
functions revamp plugin May 22, 2016
LICENSE revamp plugin May 22, 2016
README.md tweak May 22, 2016

README.md

Slack Room

fasd

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.

Prerequisite

On OS X homebrew has a keg for fasd:

$ brew install fasd

Install

With fisherman

$ fisher gretel/fasd

Usage

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:

asciicast

Hope you have a fast swim!