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! 🚀