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:
@ -99,7 +99,7 @@ _msm() {
|
|||||||
else
|
else
|
||||||
case "${COMP_WORDS[2]}" in
|
case "${COMP_WORDS[2]}" in
|
||||||
delete|rename|changeurl|getlatest)
|
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")"
|
options="$(ls -1 "$JAR_STORAGE_PATH")"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
Reference in New Issue
Block a user