summaryrefslogtreecommitdiff
path: root/.local/bin/gita
diff options
context:
space:
mode:
authorxyz <gky44px1999@gmail.com>2021-10-17 00:05:01 -0700
committerxyz <gky44px1999@gmail.com>2021-10-17 00:05:01 -0700
commita2690f9eebfd3b9118203a548c4eeccf6b78f7d5 (patch)
tree6e466150f4f001aadcb55cd8835dcb7940306be8 /.local/bin/gita
parentf40125600954f2a1e059c82d1a10a33a6d8067d6 (diff)
combine cfgx to cfg, add chmod feature to cfg, update cfgx to cfg in scripts
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