diff --git a/.functions b/.functions new file mode 100644 index 0000000..5c812c8 --- /dev/null +++ b/.functions @@ -0,0 +1,9 @@ +function g { + if [[ $# > 0 ]]; then + git $@ + else + git status + fi +} +compdef g=git +