Skip to content

Markojudas/bookmarktool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

Markojudas' Bash Bookmark Tool

This is very simple bookmark tool for the easy navigation through the terminal of the most used directories.

Install

git clone https://github.com/Markojudas/bookmarktool.git
cd bookmarktool
mv .bookmarktool ~/
./.bookmarktool.sh

This will create a file .bookmark.list that will keep track of the created bookmarks and keep a count of time you have visited each bookmark.

This will also modify your .bashrc file appending the block below so the tool is available after booting up.

if [ -f ~/.bookmarktool.sh ]; then
	. ~/.bookmarktool.sh
fi

Once the above is done, for the first time usage you could either restart your machine or just source your .bashrc to make the above take effect:

source .bashrc

Usage

bm [OPTION] [name-of-bookmark] [path-to-directory]

OPTIONS
-c [create]	[name-of-bookmark] [path-to-directory]
-r [remove]	[name-of-bookmark]
-l [list]
-s [show]	[name-of-bookmark]
-v [visit]	[name-of-bookmark]

Releases

No releases published

Packages

No packages published

Languages