Based on: https://gist.github.com/kevin-smets/8568070
This gist outlines the steps needed to setup zsh, ohmyzsh and the powerlevel10k theme, available for anyone to follow.
-
Setup required dependencies
# update packages sudo apt update # install required packages sudo apt install zsh git curl -y # verify zsh installation zsh --version # Set the default shell to zsh sudo chsh -s $(which zsh) $(whoami) # Install oh-my-zsh: https://ohmyz.sh sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" # Install Powerlevel10k: https://github.com/romkatv/powerlevel10k git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
-
logout of your user session and log back in, or restart your system
-
Set
oh-my-zsh
theme to Powerlevel10k by setting the following in your~/.zshrc
.ZSH_THEME="powerlevel10k/powerlevel10k"
-
Setup the recommended font for powerlevel 10k:
- Install the recommended font: https://github.com/romkatv/powerlevel10k#manual-font-installation
- Setup your terminal to use this installed font
-
Open a new terminal shell. You should now see a prompt for the Powerlevel10k configuration wizard. Simply follow the on-screen instructions.
Enjoy!