mirror of
https://github.com/msmhq/msm.git
synced 2024-08-30 18:12:35 +00:00
Fixed a bug in jargroup bash completion.
Would not complete to existing jar group names.
This commit is contained in:
parent
a64de96a2d
commit
476a3e7504
@ -99,7 +99,7 @@ _msm() {
|
||||
else
|
||||
case "${COMP_WORDS[2]}" in
|
||||
delete|rename|changeurl|getlatest)
|
||||
if [[ $COMP_CWORD == 3 && -d "JAR_STORAGE_PATH" ]]; then
|
||||
if [[ $COMP_CWORD == 3 && -d "$JAR_STORAGE_PATH" ]]; then
|
||||
options="$(ls -1 "$JAR_STORAGE_PATH")"
|
||||
fi
|
||||
;;
|
||||
|
Loading…
x
Reference in New Issue
Block a user