Based on: https://gist.github.com/kevin-smets/8568070
This gist outlines the steps needed to setup zsh, ohmyzsh and the powerlevel10k theme on Ubuntu, 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.githubusercontent.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
-
Create a new terminal session to start using zsh.
-
Use your preferred text editor to set the
oh-my-zsh
theme to Powerlevel10k 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
-
Create a new terminal session. You should now see a prompt for the Powerlevel10k configuration wizard. Simply follow the on-screen instructions.
Enjoy!
thank you for this instruction