A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/huyng/bashmarks below:

huyng/bashmarks: Directory bookmarks for the shell

Bashmarks is a shell script that allows you to save and jump to commonly used directories. Now supports tab completion.
  1. git clone https://github.com/huyng/bashmarks.git
  2. cd bashmarks
  3. make install
  4. source ~/.local/bin/bashmarks.sh from within your ~.bash_profile or ~/.bashrc file
  5. you can now remove the downloaded bashmarks folder which is no longer needed
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
$ 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.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4