summaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
authorxyz <gky44px1999@gmail.com>2021-10-17 16:08:52 -0700
committerxyz <gky44px1999@gmail.com>2021-10-17 16:08:52 -0700
commit002c572413e13c52069c691c4f1804a35ef77697 (patch)
tree2435ad0873a60f0b1412c256c01f8569dd1b2098 /home
parentf0b6361025a2854d99a14729ad1bb3f865de0aea (diff)
refactor
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"