summaryrefslogtreecommitdiff
path: root/.local/bin/gita
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/gita')
-rwxr-xr-x.local/bin/gita12
1 files changed, 6 insertions, 6 deletions
diff --git a/.local/bin/gita b/.local/bin/gita
index 6f5dc76c..c3d8520c 100755
--- a/.local/bin/gita
+++ b/.local/bin/gita
@@ -5,9 +5,9 @@ cmd='git'
while getopts cls f; do
case $f in
- c) cmd='cfgc';;
- l) cmd='cfgl';;
- s) cmd='cfgs';;
+ c) cmd='cfg -c';;
+ l) cmd='cfg -l';;
+ s) cmd='cfg -s';;
\?) exit 1;;
esac
done
@@ -15,6 +15,6 @@ shift $((OPTIND-1))
mes="${1:-refactor}"
-"$cmd" add -u
-"$cmd" commit -m "$mes"
-"$cmd" push
+$cmd add -u
+$cmd commit -m "$mes"
+$cmd push