安装oh-my-zsh和autojump

ubuntu

1
2
3
4
5
6
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"


plugins=(git autojump)

git clone https://github.com/joelthelion/autojump.git

进入autojump 的目录,cd autojump,执行

1
python ./install.py

最后其会有提示

vim ~/.zshrc 添加如下到 ~/.zshrc

1
2
3
[[ -s /home/yinghong/.autojump/etc/profile.d/autojump.sh ]] && source /home/yinghong/.autojump/etc/profile.d/autojump.sh

autoload -U compinit && compinit -u
请作者喝一杯咖啡☕️