summaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
Diffstat (limited to 'home')
-rwxr-xr-xhome/xyz/.local/bin/cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/home/xyz/.local/bin/cfg b/home/xyz/.local/bin/cfg
index 0be822ef..aab6b089 100755
--- a/home/xyz/.local/bin/cfg
+++ b/home/xyz/.local/bin/cfg
@@ -1,7 +1,7 @@
#!/bin/sh
# didn't consider $HOME contain space? need improve?
-while getopts clLsSmM opt; do
+while getopts clsmM opt; do
case $opt in
c) dir="$HOME"
cmd="git --git-dir=$dir/.cfg$opt/ --work-tree=$dir"