My Setup
Terminal

Setup Zsh

Install Font

You can install from Nerd Font (opens in a new tab) repository. I use JetBrainsMono and size is 11

curl -OL https://github.com/ryanoasis/nerd-fonts/releases/latest/download/JetBrainsMono.tar.xz
tar -xf JetBrainsMono.tar.xz
mv JetBrainsMono/* /usr/share/fonts
fc-cache -f -v

Install Zsh

apt install zsh

Change Default Shell

chsh -s /usr/bin/zsh

Re-login and check.

echo $SHELL

Install ohmyzsh

sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

Install powerlevel10k theme

git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k

Install autosuggestions plugin

git clone https://github.com/zsh-users/zsh-autosuggestions.git $ZSH_CUSTOM/plugins/zsh-autosuggestions

Install syntax-highlighting plugin

git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting

Install fzf plugin

sudo apt install fzf

Install fzf-tab plugin

git clone https://github.com/Aloxaf/fzf-tab $ZSH_CUSTOM/plugins/fzf-tab

Install fast-syntax-highlighting

git clone https://github.com/zdharma-continuum/fast-syntax-highlighting.git $ZSH_CUSTOM/plugins/fast-syntax-highlighting
Last updated on January 21, 2024