Bashmarks - Bookmarking for the command-line

Bashmarks is a simple set of bash functions that allows you to bookmark folders in the command-line.
Install
- Get bashmarks.sh here: github repository
- Place bashmarks.sh somewhere such as ~/bin
-
Source it in your .bashrc file (or other bash startup file):
source ~/bin/bashmarks.sh
Use
To bookmark a folder, simply go to that folder, then bookmark it like so:
bookmark fooThe bookmark will be named "foo". When you want to get back to that folder use:
go fooTo see a list of the bookmarks:
bookmarksshowTab completion works, to go to the shoobie bookmark, simply:
go sho[tab]
Example
~ > cd dropbox ~/dropbox > bookmark db Bookmark 'db' saved ~/dropbox > cd Pictures ~/Pictures > bookmark pictures Bookmark 'pictures' saved ~/Pictures > go db ~/dropbox > bookmarksshow /Users/joebloe/dropbox db /Users/joebloe/Pictures pictures ~/dropbox >
