效果图
安装zsh
sudo apt install zsh
安装oh-my-zsh
sh -c "$(curl -fsSL https://gitee.com/shmhlsy/oh-my-zsh-install.sh/raw/master/install.sh)"
安装powerlevel10k
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
编辑.zshrc
vim .zshrc
修改ZSH_THEME(应该在第十八行)
主题生效
source ~/.zshrc
标签:oh,my,zshrc,sh,powerlevel10k,ubuntu,zsh,美化
From: https://www.cnblogs.com/SBmiddleschoolstudent/p/18214550