标签:ubunt theme hub col mamicode img load sse div
1 安装
sudo apt-get install zsh
2 修改默认shell
chsh -s /bin/zsh
3 配置passwd
sudo vim /etc/passwd root:x:0:0:root:/root:/bin/bash改成root:x:0:0:root:/root:/bin/zsh
4 手动安装oh-my-zsh
git clone https://gitee.com/roclyp/oh-my-zsh cd /home/lyp/oh-my-zsh/tools ./install.sh (这个会有些耗时)
问题:/install.sh 失败会未配置~/.zshrc : 解决: cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc 重新.install.sh
5 配置主题
vim ~/.zshrc ZSH_THEME="robbyrussell" (默认主题) 修改ZSH_THEME 即可
source ~/.zshrc 主题:https://github.com/ohmyzsh/ohmyzsh/wiki/themes
6插件安装
autojump、zsh-autosuggestion 和 zsh-syntax-highlighting
7打开终端查看
标签:ubunt theme hub col mamicode img load sse div
原文地址:https://www.cnblogs.com/wxbn/p/14572262.html