Skip to content

Instantly share code, notes, and snippets.

@dmitrydwhite
Created March 26, 2019 22:24
Show Gist options
  • Save dmitrydwhite/341ca162758ceba4a3115adfacdc3c54 to your computer and use it in GitHub Desktop.
Save dmitrydwhite/341ca162758ceba4a3115adfacdc3c54 to your computer and use it in GitHub Desktop.
Maybe I am not the only one who types `gi tpush` like 8 times a day
# me> gi tpush
# computer> -bash: gi: command not found
# me> dang it you kno wwhat I meant!
gi() { TCOMMAND=$1; shift; OTHERARGS=$@; if [ ${TCOMMAND:0:1} = "t" ]; then git ${TCOMMAND:1} $OTHERARGS; fi; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment