diff options
Diffstat (limited to 'home/xyz/.local/bin/cfg')
-rwxr-xr-x | home/xyz/.local/bin/cfg | 2 |
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" |