zsh

# 安装 autojump

brew install autojump
安装完的提示
Add the following line to your ~/.bash_profile or ~/.zshrc file:
[ -f /opt/homebrew/etc/profile.d/autojump.sh ] && . /opt/homebrew/etc/profile.d/autojump.sh

# 安装zsh-users插件
cd ~/.oh-my-zsh/custom/plugins/

# 安装zsh-Syntax-highlighting
git clone https://github.com/zsh-users/zsh-autosuggestions.git
git clone https://github.com/zsh-users/zsh-Syntax-highlighting.git

vim ~/.zshrc
在plugins 添加
plugins=(git zsh-Syntax-highlighting zsh-autosuggestions autojump mvn brew node npm)

在 末尾添加

[ -f /opt/homebrew/etc/profile.d/autojump.sh ] && . /opt/homebrew/etc/profile.d/autojump.sh

source /etc/profile #(添加这一行的目的是可以执行之前的老命令)

 

添加完成后

 

source ~/.zshrc

 

相关文章

最近做自动化测试时,深感自己对前端涉猎太少,加上对这块比...
homebrew本身就是一个git仓库。使用homebrew安装软件包时,会...
一、Homebrew安装、卸载等命令Homebrew的安装和卸载都非常简...
在mac系统中,使用homebrew可以很方便的管理包。按照官网的说...
我按照说明从这里使用brew安装mysqlhttps://gist.github.com...
我在macOS10.12.4上安装了nginx1.10.3和php5.5.38作为开发服...