Ubuntu 14.04 安装 Oh-My-Zsh 和 autojump

  1. oh-my-zsh

https://github.com/robbyrussell/oh-my-zsh/

如果没有安装git需要先安装git:
sudo apt-get install git

1. sudo apt-get install zsh
2. wget --no-check-certificate http://install.ohmyz.sh -O - | sh 
3. 这时可能会出现 密码: chsh:PAM, 手动输入 chsh -s /bin/zsh 即可解决
4. 注销或重启就ok了
  1. oh-my-zsh 安装主题

  2.  gedit ~/.zshrc

  3. 找到,ZSH_THEME="xiong-chiamiov-plus"  ," " 处,更改主题,主题链接

  4. 安装autojump

    sudo apt-get install 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/tan/.autojump/etc/profile.d/autojump.sh ]] && source /home/tan/.autojump/etc/profile.d/autojump.sh

autoload -U compinit && compinit -u

(完)
comments powered by Disqus
Powered by GitHub  &&  Jekyll | CC BY-NC-SA