Linux安装zsh
Linux 安装zsh
添加第三方源
1 | sudo yum install epel-release |
安装zsh
如果你用 Redhat Linux,执行:1
sudo yum install -y zsh
如果你用 Ubuntu Linux,执行:1
sudo apt-get install zsh
安装oh my zsh
自动安装:1
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | sh
手动安装:1
2git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
更改默认shell
1 | chsh -s /bin/zsh |
安装插件
1 | git clone git://github.com/joelthelion/autojump.git |