Linux 安装bashmarks

下载源码

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

添加环境变量

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

相关命令
s <bookmark_name> - Saves the current directory as "bookmark_name"
g <bookmark_name> - Goes (cd) to the directory associated with "bookmark_name"
p <bookmark_name> - Prints the directory associated with "bookmark_name"
d <bookmark_name> - Deletes the bookmark
l                 - Lists all available bookmarks
Licensed under CC BY-NC-SA 4.0
Built with Hugo
主题 StackJimmy 设计