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"
mkcd() { mkdir -p “$1” && cd “$1”; }
Make a directory and immediately cd into it. I rarely make a directory and not cd into it.
Quite basic but saves me a couple of seconds each time. alias update=“sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y && sudo apt autoclean -y”
alias gladog=“git log —all —decorate —oneline —graph” is my all time favourite. Sometimes I just want to have a quick way to see the git graph in the terminal.
alias ta="tmux attach -t"