Skip to content

bhagwatvyas/bashmarks

This branch is 15 commits behind huyng/bashmarks:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

f3911e3 · May 6, 2013

History

39 Commits
May 6, 2013
Apr 30, 2011
Mar 2, 2011
May 6, 2013

Repository files navigation

Bashmarks is a shell script that allows you to save and jump to commonly used directories. Now supports tab completion.

Install

  1. git clone git://github.com/huyng/bashmarks.git
  2. make install
  3. source ~/.local/bin/bashmarks.sh from within your ~.bash_profile or ~/.bashrc file

Shell Commands

s <bookmark_name> - Saves the current directory as "bookmark_name"
g <bookmark_name> - Goes (cd) to the directory associated with "bookmark_name"
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
$ g web<tab>
$ g webfolder

Where Bashmarks are stored

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

Releases

No releases published

Packages

No packages published