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"
  • rakstar@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 year ago

    Technically not aliases but I have these in my ~/.bash_aliases so…

    bind ‘“\e[A”: history-search-backward’
    bind ‘“\e[B”: history-search-forward’

    Type a few letters and press up/down arrow to scroll through matching history entries.

    Also…

    alias s=“cd -”

    It’s like Alt+Tab for CLI.