安装zsh

安装zsh
yum install zsh
安装oh my zsh wget
https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | sh
如果提示到https://site.ip138.com/raw.githubusercontent.com/跳转不通 需要把
199.232.68.133 githubusercontent.com
151.101.76.133 raw.githubusercontent.com
192.168.11.3 imteamwork.com 加入到/etc/hosts或C:\Windows\System32\drivers\etc\hosts


cat /etc/shells
echo $SHELL
chsh -s `/bin/zsh` 把zsh切换为系统默认终端(which zsh)
vim ~/.zshrc 里改变主题

posted on 2020-11-16 14:07  pvm  阅读(41)  评论(0)    收藏  举报

导航