配置zsh 主题 修改默认shell
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
# Path to your oh-my-zsh installation. export ZSH="/home/ubuntu/.oh-my-zsh" # Set name of the theme to load --- if set to "random", it will # load a random theme each time oh-my-zsh is loaded, in which case, # to know which specific one was loaded, run: echo $RANDOM_THEME # See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes ZSH_THEME="robbyrussell" #在此处改主题
echo $SHELL #查看当前的默认shell SHELL="/bin/zsh" #这就可以了。很暴力。不过得去看好zsh的位置，弄错了可能要gg