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"
  • minorsecond
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago
    alias ein='f() { sudo emerge -av $1 };f'
    alias eup='sudo emerge -avuDN @world'
    
    • poeplva@lemmy.sdf.org
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      1 year ago

      The first alias actually gave me some ideas, thanks for that. But I don’t understand how is what you did is really different from alias ein='sudo emerge -av'. I think the only thing that is different is the way you do it ein abc def will be the same as ein abc, but why would you want this?

      • minorsecond
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        The second one updates world, so you get a system update.

      • minorsecond
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        I just realized what you were asking lol. I’ve had a couple beers, sorry.

        Your idea may work, I’ll have to try it.