I've used Oh-My-Zsh previously, but it was too slow.
Nowadays I don't use it.
If I repeat the same combo of commands 3+ times, I add it to my ~/.zshrc.
Copy it if you wish:
cat >> ~/.zshrc<< EOF
export HISTFILE=~/.zsh_history
export HISTFILESIZE=1000000000
export HISTSIZE=1000000000
setopt INC_APPEND_HISTORY
export HISTTIMEFORMAT="[%F %T] "
setopt EXTENDED_HISTORY
setopt HIST_FIND_NO_DUPS
# Hot take: always fetch before pull
alias gfpull='git fetch --all --prune --jobs=10 && git pull'
# My default way to pull stuff, covers 99% cases
alias gfprom='gfpull --rebase origin master'
# Basically git-fix-up-my-last-commit. Verify on CI.
alias gcan='git commit --amend --no-edit --no-verify'
# Should be the default way to push. Your branches should be protected anyway. If not, welp. You'll learn a lesson.
# The force is to use after rebase. Be careful, though.
alias gpf='git push --no-verify -f'
alias ga='git add .'
alias gs='git status'
alias gfa='git fetch --all'
# Should be the default way to commit. Verify on CI!
alias gc='git commit --no-verify -m'
# gg "YES, just commit everything"
alias gg='ga && gc'
# Install exact deps (or do you prefer total chaos? ...Why?)
alias yfl='yarn --frozen-lockfile'
alias yu='yarn unit'
alias yt='yarn tsc'
# I've said - quiet!
alias yfq='yarn format --quiet -- --quiet'
alias gdh='git diff HEAD~1'
alias vz='vim ~/.zshrc'
alias rrnm='rm -rf node_modules'
alias dotz='. ~/.zshrc'
alias ys='yarn storybook'
# Install exact deps & Launch storybook: Useful when switching branches
alias yas="yfl && ys"
EOF