Fix some Bash issues

This commit is contained in:
Robin Richtsfeld
2017-12-09 15:05:45 +01:00
parent 44455c4a00
commit c86038d61d
3 changed files with 5 additions and 5 deletions

View File

@@ -111,7 +111,7 @@ __vboxmanage_default() {
for WORD in $opts; do
MATCH=0
for OPT in ${COMP_WORDS[@]}; do
for OPT in "${COMP_WORDS[@]}"; do
# opts=$(echo ${opts} | grep -v $OPT);
if [ "$OPT" == "$WORD" ]; then
MATCH=1
@@ -219,4 +219,4 @@ _vboxmanage() {
# echo "Got to end withoug completion"
}
complete -F _vboxmanage vboxmanage
complete -F _vboxmanage vboxmanage