summaryrefslogtreecommitdiff
path: root/autofuck.sh
diff options
context:
space:
mode:
Diffstat (limited to 'autofuck.sh')
-rwxr-xr-xautofuck.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/autofuck.sh b/autofuck.sh
new file mode 100755
index 0000000..fc69050
--- /dev/null
+++ b/autofuck.sh
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+$@
+if [ $? -eq 0 ]; then
+ echo "git status exited successfully"
+else
+ echo "git status exited with error code"
+fi