Unix
ZSH Configuration

ZSH Configuration

ZSH configurations using oh-my-zsh (opens in a new tab)

Theme

I use oh-my-zsh for the installation (opens in a new tab)

.zshrc
ZSH_THEME="spaceship"

Plugins

.zshrc
plugins=(
    git
    autojump
    yarn
    gh
    zsh-syntax-highlighting
    zsh-autosuggestions
)

Top 25 Zsh Aliases Demonstration

A curated list of handy Zsh aliases for faster navigation, git operations, and dev workflow.


Navigation Aliases

AliasCommandDescription
=cd -Go to previous directory
1cd +1Go 1 directory forward in stack
2cd +2Go 2 directories forward
dfasd -dQuickly jump to frequently used directories
zzfasd_cd -d -iInteractive directory jump

Git Aliases

AliasCommandDescription
ggitBase git command
gsgit statusCheck git status
gcogit checkoutCheckout a branch or file
gcagit commit --verbose --allCommit all changes verbosely
gpgit pushPush commits to remote

Python / Dev Aliases

AliasCommandDescription
pythonpython -m IPython --no-confirm-exitStart IPython REPL
pippython -m pipUse pip for package management
pytestpython -m pytest -vvRun tests with verbose output
mypypython -m mypyRun type checking
ipdbpython -m ipdbDebug Python scripts interactively

Utilities / Tools

AliasCommandDescription
_sudoRun commands as superuser
lall -AList all files with details
dfdf -khShow disk usage in human-readable format
dudu -khShow directory sizes
topchtop -s PERCENT_CPUMonitor CPU usage interactively
topmhtop -s PERCENT_MEMMonitor memory usage interactively
watchgpu`watch --color -n0.2 "gpustat --color
oopenOpen files or directories (macOS)
e${(z)VISUAL:-${(z)EDITOR}}Open editor (VISUAL or EDITOR env)
vvimOpen Vim/nvim editor
tmuxtmux-wrapperStart or attach tmux session

These aliases are sourced from a curated Zsh setup and showcase how navigation, git workflow, Python development, and system monitoring can be made faster in the terminal.


Last updated on December 13, 2025