Skip to content

gonsie/fishmarks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Fishmarks is a set of fish functions which allow you to save and jump to commonly used directories.

Compatability

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.

Install

  1. git clone git://github.com/gonsie/fishmarks.git
  2. make install

Shell Commands

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

Example Usage

$ cd /var/www/
$ s webfolder
$ cd /usr/local/lib/
$ s locallib
$ l
$ c web<tab>
$ c webfolder

Where Fishmarks are stored

All of your directory bookmarks are saved in a file called ".sdirs" in your HOME directory.

About

Directory bookmarks for fish (idea from https://github.com/huyng/bashmarks)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages