Skip to content

sonjiku/shellmark

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

Install

  1. git clone git://github.com/sonjiku/shellmark.git
  2. cd shellmarks
  3. make install
  4. run

Shell Commands

shellmark -s SHELLMARK [DIRECTORY] - Saves DIRECTORY or $PWD as SHELLMARK
shellmark -g SHELLMARK             - Goes (cd) to the directory associated with "bookmark_name"
shellmark -p SHELLMARKs            - Prints the directories associated with the provided shellmarks
shellmark -d SHELLMARKs            - Deletes the shellmarks
shellmark -l                       - Lists all available bookmarks
shellmark -L                       - Lists all available shellmarks and their associated directories

Example Usage

$ cd /var/www/
$ shellmark -s webfolder
$ cd /usr/local/lib/
$ shellmark -s locallib
$ shellmark -l
$ shellmark -p webfolder
$ shellmark -g web
$ shellmark -d webfolder web

Where shellmarks are stored

All of your directory bookmarks are saved in "~/.config/shell/shmal" (think SHell MArk List), but that can easily be changed just by changing the SMFILE environment variable.

About

Directory bookmarks for the shell

Resources

License

Stars

6 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Shell 98.1%
  • Makefile 1.9%