sudo apt-get install zsh sudo apt-get install git
because zsh It's too cumbersome to configure , Direct installation
oh-my-zsh that will do , Go to
oh-my-zsh Official website ：
Use command ：
$ sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
During installation , Installation may fail , We can also install it manually , Go to github download
$ git clone https://github.com/ohmyzsh/ohmyzsh.git ~/.oh-my-zsh $ cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
After installation , take shell from bash Switch to zsh.
chsh -s /bin/zsh
When the input is complete , You have to exit the command line , Re enter , To see zsh.
here zsh It's already installed , We have to continue to configure zsh The theme style of .
Open the url , There are four steps ：
Go install the font first , four ttf file , After downloading it , Double click to install
Oh My Zshafter , Copy and paste the jump command to the terminal ,【 If this doesn't work , Just click on the first manual configuration , Clicking in is also copy and paste 】
echo 'source ~/powerlevel10k/powerlevel10k.zsh-theme' >>~/.zshrc
Restart the terminal
p10k configure, Go to the configuration page
Choose... According to your preference 12yn that will do .