summaryrefslogtreecommitdiff
path: root/autofuck.sh
diff options
context:
space:
mode:
authorlittleblack111 <jerrylam110209@gmail.com>2023-03-08 18:09:07 +0800
committerlittleblack111 <jerrylam110209@gmail.com>2023-03-08 18:09:07 +0800
commit46ba941d0e3df93c243429551bd5101b0c1c172e (patch)
treee7c185a0f749248983340246ad71f6a30edeb2c7 /autofuck.sh
update
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