Developers often use the terminal, but the default look can be boring and lacks visual appeal. Today, weβll transform our terminal into a beautiful, colorful, and smart environment using Oh My Zsh (OMZ) and PowerLevel10k (P10k).
With this setup, youβll get:
β
Aesthetic customization β¨
β
Command suggestions & syntax highlighting ποΈ
β
A terminal that remembers your history π§
- Ubuntu base distro
- Terminal
sudo apt install zshAfter installation, switch to zsh:
zshecho $SHELLIn case if your default shell is not ZSH, then run the following command to make it default:
chsh -s $(which zsh)sudo apt update
sudo apt install curl git wget -yRun the following command:
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"git clone https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10kNow, enable it by updating your ~/.zshrc file:
ZSH_THEME="powerlevel10k/powerlevel10k"Enables command syntax highlighting to help catch errors before running commands.
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlightingProvides command suggestions based on history and completions.
git clone https://github.com/zsh-users/zsh-autosuggestions.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestionsplugins=(git zsh-autosuggestions zsh-syntax-highlighting)source ~/.zshrcNow you have a fully customized, powerful, and beautiful terminal! π
π Next Steps:
β
Customize your PowerLevel10k prompt.
β
Add more Oh My Zsh plugins.
β
Start coding with an amazing terminal experience!
π‘ Contributions & Issues
If you have suggestions or issues, feel free to open a pull request or issue in this repository!
π Happy Coding! π