mirror of
https://github.com/gryf/vboxmanage-bash-completion.git
synced 2025-12-17 19:40:17 +01:00
change comp_words to upper case
This commit is contained in:
12
VBoxManage
12
VBoxManage
@@ -1029,8 +1029,8 @@ _VBoxManage() {
|
|||||||
--ignore-operhaned-processes --profile
|
--ignore-operhaned-processes --profile
|
||||||
--dos2unix --unix2dos --username --domain --)
|
--dos2unix --unix2dos --username --domain --)
|
||||||
|
|
||||||
[[ " ${comp_words[@]} " != *" --password "* ||
|
[[ " ${COMP_WORDS[@]} " != *" --password "* ||
|
||||||
" ${comp_words[@]} " != *" --passwordfile "* ]] &&
|
" ${COMP_WORDS[@]} " != *" --passwordfile "* ]] &&
|
||||||
items+=(--passwordfile --password)
|
items+=(--passwordfile --password)
|
||||||
[[ " ${COMP_WORDS[@]} " != *" --putenv "* &&
|
[[ " ${COMP_WORDS[@]} " != *" --putenv "* &&
|
||||||
" ${COMP_WORDS[@]} " != *" -E "* ]] &&
|
" ${COMP_WORDS[@]} " != *" -E "* ]] &&
|
||||||
@@ -1057,8 +1057,8 @@ _VBoxManage() {
|
|||||||
--ignore-operhaned-processes --profile
|
--ignore-operhaned-processes --profile
|
||||||
--username --domain --passwordfile --password --)
|
--username --domain --passwordfile --password --)
|
||||||
|
|
||||||
[[ " ${comp_words[@]} " != *" --password "* ||
|
[[ " ${COMP_WORDS[@]} " != *" --password "* ||
|
||||||
" ${comp_words[@]} " != *" --passwordfile "* ]] &&
|
" ${COMP_WORDS[@]} " != *" --passwordfile "* ]] &&
|
||||||
items+=(--passwordfile --password)
|
items+=(--passwordfile --password)
|
||||||
[[ " ${COMP_WORDS[@]} " != *" --verbose "* &&
|
[[ " ${COMP_WORDS[@]} " != *" --verbose "* &&
|
||||||
" ${COMP_WORDS[@]} " != *" -v "* ]] &&
|
" ${COMP_WORDS[@]} " != *" -v "* ]] &&
|
||||||
@@ -1078,8 +1078,8 @@ _VBoxManage() {
|
|||||||
[[ " ${COMP_WORDS[@]} " != *" --recursive "* &&
|
[[ " ${COMP_WORDS[@]} " != *" --recursive "* &&
|
||||||
" ${COMP_WORDS[@]} " != *" -R "* ]] &&
|
" ${COMP_WORDS[@]} " != *" -R "* ]] &&
|
||||||
items+=(--recursive -R)
|
items+=(--recursive -R)
|
||||||
[[ " ${comp_words[@]} " != *" --password "* ||
|
[[ " ${COMP_WORDS[@]} " != *" --password "* ||
|
||||||
" ${comp_words[@]} " != *" --passwordfile "* ]] &&
|
" ${COMP_WORDS[@]} " != *" --passwordfile "* ]] &&
|
||||||
items+=(--passwordfile --password)
|
items+=(--passwordfile --password)
|
||||||
[[ " ${COMP_WORDS[@]} " != *" --verbose "* &&
|
[[ " ${COMP_WORDS[@]} " != *" --verbose "* &&
|
||||||
" ${COMP_WORDS[@]} " != *" -v "* ]] &&
|
" ${COMP_WORDS[@]} " != *" -v "* ]] &&
|
||||||
|
|||||||
Reference in New Issue
Block a user