Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/huyng/bashmarks
- Owner: huyng
- License: bsd-3-clause
- Created: 2010-07-18T17:35:17.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2024-08-16T14:59:46.000Z (4 months ago)
- Last Synced: 2024-12-05T06:44:15.305Z (7 days ago)
- Language: Shell
- Homepage: https://everyhue.me/posts/bashmarks-directory-bookmarks/
- Size: 24.4 KB
- Stars: 1,902
- Watchers: 47
- Forks: 293
- Open Issues: 34
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-bash - bashmarks - Directory bookmarks for the shell. (Command-Line Productivity / Reusable Things)
- awesome-github-repos - huyng/bashmarks - Directory bookmarks for the shell (Shell)
- AwesomeResources - Bashmarks
- awesome-starred - huyng/bashmarks - Directory bookmarks for the shell (others)
- jimsghstars - huyng/bashmarks - Directory bookmarks for the shell (Shell)
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)