Zsh - fairulazmin/note GitHub Wiki
Zsh
Installsudo apt-get install zsh
Oh My Zsh
Installsh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
Powerlevel10k
Installgit clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
Powerline fonts
Installsudo apt-get install fonts-powerline
or
# clone
git clone https://github.com/powerline/fonts.git --depth=1
# install
cd fonts
./install.sh
# clean-up a bit
cd ..
rm -rf fonts
Then, change the font type in terminal
vim ~/.zshrc
and edit command as below
Open zshrc file by typing ZSH_THEME="powerlevel10k/powerlevel10k"
Restart terminal and configure Powerlevel10k configuration wizard
Set Screen Background Color to RGB(40,44,52)
zsh auto suggestion
InstallClone this repository
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
Add the plugin to the list of plugins for Oh My Zsh
plugins=(git zsh-autosuggestions)