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"
  • marv99@feddit.de
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    1 year ago

    Parse JWT token which is base64 (alias is CSH syntax), usage: tokenparse filename

    alias tokenparse "cat "\""\$1"\"" | jq -R 'split("\""."\"") | .[0],.[1] | @base64d | fromjson'"