Last active
April 5, 2017 09:04
-
-
Save nlpjoe/018c1b107b1fa8e81619d0b5ed23aa8c to your computer and use it in GitHub Desktop.
omzsh&autojump.zsh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################## install oh-my-zsh ####################### | |
sudo apt-get install git | |
sudo apt-get install zsh | |
wget --no-check-certificate http://install.ohmyz.sh -O - | sh | |
这时可能会出现 密码: chsh:PAM, 手动输入 chsh -s /bin/zsh 即可解决 | |
注销或重启就ok了 | |
oh-my-zsh 安装主题 | |
gedit ~/.zshrc | |
找到,ZSH_THEME="xiong-chiamiov-plus" ," " 处,更改主题,主题链接 | |
################## end ####################### | |
################## 安装autojump ####################### | |
https://github.com/joelthelion/autojump | |
输入 | |
git clone https://github.com/joelthelion/autojump.git | |
进入autojump 的目录,cd autojump,执行 | |
python ./install.py | |
最后其会有提示 | |
vim ~/.zshrc 添加如下到 ~/.zshrc | |
[[ -s /home/vagrant/.autojump/etc/profile.d/autojump.sh ]] && source /home/vagrant/.autojump/etc/profile.d/autojump.sh | |
autoload -U compinit && compinit -u |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment