Skip to content

PetersonRyan/bash-bookmarks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 

Repository files navigation

Bash Bookmarks

Store directory bookmarks for your terminal. Access or open them by an index or by name

Every terminal window you open will list your bookmarks upon opening, for easy access!

Commands

bbs <name>        : Save current directory as <name>
bb  <index/name>  : Go to bookmark with index <index> or name <name>
bbo <index/name>  : Open bookmark with index <index> or name <name> in file manager
bbl               : List all bookmarks
bbr <index/name>  : Remove bookmark with index <index> or name <name>
bbd <index/name>  : Alias for bbr
bb  -r            : Resets bookmarks to nothing

Installation Instructions

Run the following commands to download the file into your user directory, and add it to your bash profile

curl https://raw.githubusercontent.com/PetersonRyan/bash-bookmarks/master/bash-bookmarks.sh --output ~/.bash-bookmarks.sh
echo source ~/.bash-bookmarks.sh >> ~/.profile