Fixed a bug in jargroup bash completion.

Would not complete to existing jar group names.
This commit is contained in:
Marcus Whybrow 2012-05-31 10:18:19 +01:00
parent a64de96a2d
commit 476a3e7504

View File

@ -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
;;