From a2690f9eebfd3b9118203a548c4eeccf6b78f7d5 Mon Sep 17 00:00:00 2001 From: xyz Date: Sun, 17 Oct 2021 00:05:01 -0700 Subject: combine cfgx to cfg, add chmod feature to cfg, update cfgx to cfg in scripts --- .local/bin/gita | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to '.local/bin/gita') 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 -- cgit v1.2.3-70-g09d2