Typing the same commands again and again gets old real fast.
Here are a few of my favorite Zsh aliases that actually make dev work quicker:
# Git Shortcuts
alias ga="git add"
alias gal="git add ."
alias gc="git commit"
alias gs="git status"
alias lm="git switch main && git pull"
alias gp="git pull && git push"
alias ulc="git reset --soft HEAD~1"
alias gst="git stash"
alias pop="git stash pop"
alias gstapp="git stash apply"
# npm
alias ns="npm run start"
alias nd="npm run dev"
alias nb="npm run build"
alias ni="npm install"
alias nu="npm uninstall"
alias nr="npm run"
# zsh utilities
alias openzs="open ~/.zshrc"
alias sourcezs="source ~/.zshrc"
Mindset:
Make your terminal work for you, not the other way around.