User configuration for me
sudo apt-get updatesudo apt-get upgradesudo apt install vim curl git
sudo apt install zsh- check
cat /etc/shells - change login shell
chsh -s $(which zsh)
wget https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.shsh install.sh
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k- Edit ~/.zshrc
ZSH_THEME="powerlevel10k/powerlevel10k" source ~/.zshrc- Install font
Use the correct font to let the icon appear successfully
- https://github.com/romkatv/powerlevel10k#fonts
- Choose MesloLGS NF
p10k configure- 3 RAINBOW
- 2 ASCII
- 2 24-hour
- 1 one lines
- 1 disconnected
- 1 Compact
- 1 Concise
- n No
- 1 Verbose
- zsh-completions
git clone https://github.com/zsh-users/zsh-completions ${ZSH_CUSTOM:-${ZSH:-~/.oh-my-zsh}/custom}/plugins/zsh-completions
- zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
- zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
- Add to ~/.zshrc
plugins=( git zsh-completions zsh-autosuggestions zsh-syntax-highlighting ) source ~/.zshrc