Fishmarks is based on the awsome project huyng/bashmarks.
Fishmarks work with gonsie/bashmarks. There is a slightly different format for the .sdirs file, but this can be used with both bash and fish.
- git clone git://github.com/gonsie/fishmarks.git
- make install
s <bookmark_name> - Saves the current directory as "bookmark_name"
c <bookmark_name> - Goes (cd) to the directory associated with "bookmark_name"
c - Go to the $HOME directory (cd ~)
p <bookmark_name> - Prints the directory associated with "bookmark_name"
d <bookmark_name> - Deletes the bookmark
l - Lists all available bookmarks
$ cd /var/www/
$ s webfolder
$ cd /usr/local/lib/
$ s locallib
$ l
$ c web<tab>
$ c webfolder
All of your directory bookmarks are saved in a file called ".sdirs" in your HOME directory.