直接按照下面这样执行,从此再也不用自己设置terminal环境,我只想说,用起来简直爽歪歪。
bash or zsh?
必须**zsh**
- 查看当前shell:
cat /etc/shells
echo $SHELL
下载zsh
rpm --install zsh
or
yum install zsh -y
zsh设置--oh-my-zsh
- via curl
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
- via wget
sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
vim设置
直接执行:
curl https://j.mp/spf13-vim3 -L > spf13-vim.sh && sh spf13-vim.sh
该设置这个也可以在Windows上,自行查阅: