From 64ecb489ed2c3604c01ef46c1c9855a4d3dd8726 Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Mon, 29 Apr 2013 13:38:49 -0400 Subject: [PATCH] Add functions file --- .functions | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .functions 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 +