> USE THE SCRIPT TO AUTOMATICALLY INSTALL AND CONFIGURE THIS ENV, IF NOT WORKING THERE IS A MANUAL GUIDE DOWN.
TO RUN THE SCRIPT:
- DOWNLOAD IT
- chmod +x install.sh
- bash install.sh
This guide helps you install Zsh, Oh My Zsh, Powerlevel10k, and some very useful Zsh plugins to supercharge your terminal on Ubuntu / Debian-based systems.
sudo apt install zsh -yMake Zsh your default shell:
chsh -s $(which zsh)Start Zsh:
zshRun the official installer:
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"Clone the theme into Oh My Zsh custom themes directory:
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10kEdit your Zsh configuration file:
nano ~/.zshrcReplace the theme line with:
ZSH_THEME="powerlevel10k/powerlevel10k"Apply changes:
source ~/.zshrcRun the configuration wizard:
p10k configureπ Follow the prompts to customize your prompt.
If icons or symbols look broken, install Meslo Nerd Font:
- Download: https://github.com/romkatv/powerlevel10k#meslo-nerd-font-patched-for-powerlevel10k
- Set it as your terminal font
- Restart your terminal
git clone https://github.com/zsh-users/zsh-autosuggestions.git $ZSH_CUSTOM/plugins/zsh-autosuggestionsgit clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlightinggit clone --depth 1 https://github.com/marlonrichert/zsh-autocomplete.git $ZSH_CUSTOM/plugins/zsh-autocompleteEdit your .zshrc again:
nano ~/.zshrcReplace the plugins line with:
plugins=(git zsh-autosuggestions zsh-syntax-highlighting zsh-autocomplete)Reload configuration:
source ~/.zshrcYou now have: - Zsh as your default shell - Oh My Zsh framework - Powerlevel10k theme - Autosuggestions, syntax highlighting & autocomplete
Enjoy your new terminal β¨
π€ Contributing
Contributions are very welcome!
This project aims to provide a simple, portable, and developer-friendly script to install Oh My Zsh and related tools across multiple Linux distributions. Any improvements, fixes, or ideas from the community are greatly appreciated.
How to Contribute
Fork the repository
Create a new branch for your change:
Make your changes
Test your changes
apt,dnf, orpacman)Commit with a clear message
git commit -m "Improve XYZ / Add ABC support"Open a Pull Request
What You Can Improve
Some ideas (but not limited to):
brew,zypper)--no-fonts,--no-theme,--plugins-only)Code Style Guidelines
set -eand meaningfulechomessagesThank you for contributing β€οΈ
Happy hacking!