bashmarks - directory bookmarks for the shell
installation
git clone git://github.com/huyng/bashmarks.git
cd bashmarks && make install
add source ~/.local/bin/bashmarks.sh from within your ~.bash_profile or ~/.bashrc file
shell commands
s - Saves the current directory as "bookmark_name"
g - Goes (cd) to the directory associated with "bookmark_name"
p - Prints the directory associated with "bookmark_name"
d - Deletes the bookmark
l - Lists all available bookmarks
where bashmarks are stored
All of your directory bookmarks are saved in a file called “.sdirs” in your HOME directory.
沒有留言:
張貼留言