Skip to content

Latest commit

 

History

History
19 lines (17 loc) · 913 Bytes

README.md

File metadata and controls

19 lines (17 loc) · 913 Bytes

介绍

一个Bash下的书签管理工具,仅用一个命令(实际是函数)J(可以更改)就可以完成书签增删查、目录跳转
这是 oh-my-zsh jump 的改进版,使用起来会更方便 ,有自动补全同时支持多种shell
原理是把数据以软链接的方式存在~/marks目录下。具体用法见下:

$ J -h
Usage:
  J           - Lists all marks
  J <mark>    - Goes (cd) to the directory associated with <mark>
  J -s <mark> - Saves the current directory as <mark>
  J -d <mark> - Deletes the <mark>

使用

运行 git clone https://github.com/SaulLawliet/bashJ.git
source <dir>/bashJ.sh加入你的~/.bash_profile~/.bashrc~/.zshrc
默认命令是J,如要更改,你可以编辑bashJ.sh,把J改成任意你喜欢的命令