mac安装autojump
-
brew install autojump
-
编辑 vim ~/.zshrc
-
找到 plugins=,在后面添加autojump:plugins=(git autojump)
-
新开一行,添加:[[ -s $(brew --prefix)/etc/profile.d/autojump.sh ]] && . $(brew --prefix)/etc/profile.d/autojump.sh
-
j + 跳转的目录
brew install autojump
编辑 vim ~/.zshrc
找到 plugins=,在后面添加autojump:plugins=(git autojump)
新开一行,添加:[[ -s $(brew --prefix)/etc/profile.d/autojump.sh ]] && . $(brew --prefix)/etc/profile.d/autojump.sh
j + 跳转的目录