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"
  • cybersandwich@lemmy.world
    link
    fedilink
    English
    arrow-up
    8
    ·
    edit-2
    1 year ago

    mkcd() { mkdir -p “$1” && cd “$1”; }

    Make a directory and immediately cd into it. I rarely make a directory and not cd into it.

    • cybersandwich@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      1
      ·
      1 year ago

      My app keeps crashing. That’s the older version of my alias.

      mkcd() { mkdir -p “$1” && cd “$1”; }