z.fish is a clone of z that works with fish
-
clone this repo (or just download the
z.fish
file in this repo)git clone https://github.com/kols/z.fish.git
-
modify your
config.fish
to add a line:source /path/to/z.fish
-
cd
around for a while to build up the db
-
goes to most frecent dir matching
foo
z foo
-
goes to most frecent dir matching
foo
andbar
z foo bar