Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 801 Bytes

README.en.md

File metadata and controls

28 lines (19 loc) · 801 Bytes

Bookmark for Bash

Description

Bookmark for Bash environment

Support add, remove, view operation, and auto completion feature

Installation

  1. copy bm.bash to $HOME directory cp bm.bash ~/bm.bash
  2. Rename bm.bash to .bm.bash as a hidden file mv ~/bm.bash ~/.bm.bash
  3. Add below code to the end of the .bashrc file
[ -f ~/.bm.bash ] && source .bm.bash
  1. Run source ~/.bashrc or reboot bash terminal

Note: the script will automatically create .bms file in the home directory

Instructions

  1. bm : Add current directory to the bookmark
  2. bj : Jump to the bookmark with the name
  3. bl: List all the bookmarks
  4. bd : Remove the bookmark with the name

Contribution