ln -s $HOME/.oh-my-zsh /root/.oh-my-zsh
ln -s $HOME/.zshrc /root/.zshrc
使用软连接,连接home的zsh ,然后设置默认shell
cat /etc/shells //查看可用shell
chsh --shell /shell路径 //设置默认shell
ln -s $HOME/.oh-my-zsh /root/.oh-my-zsh
ln -s $HOME/.zshrc /root/.zshrc
使用软连接,连接home的zsh ,然后设置默认shell
cat /etc/shells //查看可用shell
chsh --shell /shell路径 //设置默认shell