Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/huyng/bashmarks

Directory bookmarks for the shell
https://github.com/huyng/bashmarks

Last synced: about 2 hours ago
JSON representation

Directory bookmarks for the shell

Awesome Lists containing this project

README

        

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

## Install

1. `git clone [email protected]:huyng/bashmarks.git`
2. `cd bashmarks`
3. `make install`
4. 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

## Example Usage

$ cd /var/www/
$ s webfolder
$ cd /usr/local/lib/
$ s locallib
$ l
$ g web
$ g webfolder

## Where Bashmarks are stored

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

## Creators

* [Huy Nguyen](https://github.com/huyng)
* [Karthick Gururaj](https://github.com/karthick-gururaj)