What are your most liked alias for long commands or just to give them better names.

Mine are:

alias load="source .load.sh"
alias eload="$EDITOR .load.sh"
alias gpush="git push"
alias gadd="git add --all"
alias gcommit="git commit -m "
alias gst="git status -s"
alias gpull="git pull"
  • Moonwalk
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    1 year ago

    I like to use the ones includes in oh-my-zsh. It’s a big list, but the ones I use the most are:

    gst --> git status

    gcam --> git commit -am

    gcp --> git cherry-pick

    gsta --> git stash save

    gstp --> git stash pop

    gpsup --> git push --set-upstream origin $(git_current_branch)

    grb --> git rebase