A complete zsh environment setup with Oh My Zsh, essential plugins, Powerlevel10k theme, and custom shortcuts.
One-liner install:
bash -c "$(curl -fsSL https://raw.githubusercontent.com/Anmolnoor/scripts/main/setup.sh)"Or clone and run:
git clone https://github.com/Anmolnoor/scripts.git ~/.scripts
~/.scripts/setup.shThe setup will guide you step by step:
- Install Oh My Zsh
- Install plugins (autosuggestions, syntax-highlighting, etc.)
- Install Powerlevel10k theme with preset config
- Install MesloLGS NF fonts (required for Powerlevel10k icons)
- Ask if you want utility commands
- Ask if you want git shortcuts
Important: After installation, configure your terminal to use the MesloLGS NF font for proper icon display.
Run this instead — it installs zsh, sets it as your default shell, then runs setup.sh:
bash -c "$(curl -fsSL https://raw.githubusercontent.com/Anmolnoor/scripts/main/setup_on_bash.sh)"After it finishes, log out and back in (or run exec zsh) so your shell switches over.
Check for updates and pull latest changes:
update-scriptsOr manually:
cd~/.scripts && git pullTo completely remove everything:
~/.scripts/uninstall.shOr run directly:
bash -c "$(curl -fsSL https://raw.githubusercontent.com/Anmolnoor/scripts/main/uninstall.sh)"The uninstaller will:
- Ask for feedback (help us improve!)
- Show what will be removed
- Clean your .zshrc (backup created)
- Remove Oh My Zsh, plugins, Powerlevel10k theme + config, MesloLGS NF fonts, and the scripts directory
Installed automatically by the setup script:
| Plugin | Description |
|---|---|
zsh-autosuggestions | Fish-like autosuggestions |
zsh-syntax-highlighting | Syntax highlighting for commands |
fast-syntax-highlighting | Faster syntax highlighting |
zsh-autocomplete | Real-time autocomplete |
zsh-z | Quick directory jumping |
| Command | Description |
|---|---|
reload | Reload .zshrc configuration |
editrc | Open .zshrc in your default editor |
update-scripts | Check and update scripts from git |
scripts-status | Show scripts version and status |
chelp | Show all utility commands |
| Command | Description |
|---|---|
gs | git status |
gl | Pretty git log with graph |
gd | git diff |
gb | List branches |
gco | git checkout |
gsw | git switch |
gcb "name" | Create and switch to new branch |
commit "msg" | Stage all + commit with message |
push | Push current branch to origin |
pull | Pull current branch from origin |
drop | Discard all uncommitted changes |
uncommit | Undo last commit, keep changes |
dropcommit | Undo last commit, discard changes |
| Command | Description |
|---|---|
sum | Generate AI commit summary |
cws | Commit with AI summary (asks for confirmation) |
cwsp | Commit with AI summary + push |
ghelp | Show all git shortcuts |
| File | Description |
|---|---|
setup.sh | Main setup script (zsh) |
setup_on_bash.sh | Bootstrap for bash users — installs zsh, then runs setup.sh |
uninstall.sh | Complete uninstaller |
commands.zsh | Utility commands (reload, update, etc.) |
git-shortcuts.zsh | Git shortcut commands |
help.zsh | Help command for git shortcuts |
completions.zsh | Zsh auto-completions |
powerlevel10k/ | Powerlevel10k theme files directory |
powerlevel10k/p10k.zsh | Powerlevel10k theme preset config |
powerlevel10k/fonts/ | MesloLGS NF font files |
Author:Anmol Noor
Built with:Claude (Anthropic's AI assistant)
MIT License - Feel free to use and modify.