Liunx 安装bashmarks

下载源码

git clone https://github.com/lxbwolf/bashmarks.git
bashmarks.sh复制到~/bin/

添加环境变量

在环境变量文件里, 添加
. ~/bin/bashmarks.sh

相关命令
s  - Saves the current directory as "bookmark_name"
g  - Goes (cd) to the directory associated with "bookmark_name"
p  - Prints the directory associated with "bookmark_name"
d  - Deletes the bookmark
l                 - Lists all available bookmarks

你可能感兴趣的:(Linux,Tools)