Back to Config Library
Config File
v2.0.0

Pro Zsh Config (.zshrc)

40+ aliases, custom functions, Claude AI integration, and a tuned developer shell environment.

Files Included

205 lines
# ===========================================================================
# 1. Oh My Zsh (must come first — plugins and themes depend on it)
# ===========================================================================
export ZSH=$HOME/.oh-my-zsh
ZSH_THEME="powerlevel10k/powerlevel10k"
plugins=(git zoxide fzf zsh-syntax-highlighting zsh-autosuggestions)
source $ZSH/oh-my-zsh.sh

# ===========================================================================
# 2. Aliases (most frequently edited — organized by category)
# ===========================================================================

# --- Dotfiles & Config ---
alias dotfiles='git --git-dir=$HOME/.dotfiles --work-tree=$HOME'
alias shushu='cd ~ && nvim .zshrc'
alias config='cd ~/.config/ && eza --icons --all'
alias plans="cd ~/.claude/plans/ && glow ."

# --- eza (ls replacement) ---
alias ls='eza --icons --grid --group-directories-first'
alias ll='eza --icons --long --group-directories-first --git --time-style=relative'
alias la='eza --icons --long --all --group-directories-first --git'
alias lg='eza --icons --grid --group-directories-first'
alias lt='eza --icons --long --sort=modified --reverse --git'
alias ln='eza --icons --long --sort=name --group-directories-first --git'
alias lz='eza --icons --long --sort=size --reverse --git'
alias tree='eza --icons --tree --level=2 --group-directories-first'
alias tree2="eza --icons --tree --level=2 --group-directories-first --git-ignore -I 'node_modules|.git|coverage|dist|build'"
alias tree3="eza --icons --tree --level=3 --group-directories-first --git-ignore -I 'node_modules|.git|coverage|dist|build'"

Purchase to unlock full file

How to use

Copy to ~/.zshrc and restart your shell with exec zsh. Edit aliases and PATH entries to match your setup. Source ~/.zsh_secrets for API keys.

About

A production .zshrc built over 10 years of daily use. Includes 40+ aliases for Git, Docker, pnpm, and system tasks. Custom functions: ask() for Claude API queries from the terminal, repo() to open GitHub repos in browser. Oh My Zsh with curated plugins (git, zoxide, fzf, syntax highlighting, autosuggestions). Includes both macOS and Linux variants.

ZshShellAliasesAI
$12

What’s Included

  • 40+ practical aliases (Git, Docker, pnpm)
  • repo() — open GitHub repo in browser
  • ask() — Claude API from the terminal
  • Oh My Zsh with curated plugin set
  • Zoxide, fzf, syntax highlighting
  • macOS + Linux variants included

Why trust this

  • Built from 10+ years of experience
  • Instant delivery via email
  • Reply to your receipt for support

2 files included

    Pro Zsh Config (.zshrc) | Starmorph Config | Starmorph