Written By "getmizanur" and improved by Taylor Otwell
cp zap.bash ~/zap.bash
Add this line to your .bashrc
# zap bookmark manager
if [ -f ~/.zap.bash ]; then
source ~/zap.bash
fi
$ cd ~/test && zap remember test # save bookmark
$ zap to test # go to bookmark
$ zap locations # show all bookmarks
$ zap forget test # delete bookmark