summaryrefslogtreecommitdiff
path: root/fish/.local/bin/git.sh
diff options
context:
space:
mode:
Diffstat (limited to 'fish/.local/bin/git.sh')
-rwxr-xr-xfish/.local/bin/git.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/fish/.local/bin/git.sh b/fish/.local/bin/git.sh
new file mode 100755
index 0000000..2d4eb43
--- /dev/null
+++ b/fish/.local/bin/git.sh
@@ -0,0 +1,7 @@
+#!/usr/bin/bash
+
+if [[ "$1" == "clean" ]]; then
+ git clean -fdX
+else
+ git "$@"
+fi