summaryrefslogtreecommitdiff
path: root/.local/bin/gita
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/gita')
-rwxr-xr-x.local/bin/gita6
1 files changed, 2 insertions, 4 deletions
diff --git a/.local/bin/gita b/.local/bin/gita
index c3d8520c..a3d0dbc9 100755
--- a/.local/bin/gita
+++ b/.local/bin/gita
@@ -3,11 +3,9 @@
cmd='git'
-while getopts cls f; do
+while getopts clLsS f; do
case $f in
- c) cmd='cfg -c';;
- l) cmd='cfg -l';;
- s) cmd='cfg -s';;
+ c|l|L|s|S) cmd="cfg -$f";;
\?) exit 1;;
esac
done