Bookmark folder path for shell
Problem
You want to bookmark / create shortcut to some path, so you can cd to that folder quickly. For example, if you have a folder in /home/johndoe/project/company/abc, instead of cd to this long path, you can set a bookmark to this path, such that next time you can directly cd to that folder with like goto abc
Solution
Use this bashmarks: https://github.com/bofeng/bashmarks
Steps:
1 | git clone https://github.com/bofeng/bashmarks.git |
Now you can the following command to bookmark folders:
1 | # set bookmark |