mirror of
https://github.com/gryf/vboxmanage-bash-completion.git
synced 2026-04-23 08:21:24 +02:00
Compare commits
2 Commits
3bb795a1e3
...
3404afa441
| Author | SHA1 | Date | |
|---|---|---|---|
| 3404afa441 | |||
| ab6d9f7cd9 |
+12
@@ -693,6 +693,13 @@ _VBoxManage() {
|
|||||||
COMPREPLY=( $(compgen -W "setup create" -- ${cur}) )
|
COMPREPLY=( $(compgen -W "setup create" -- ${cur}) )
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
reset)
|
||||||
|
COMPREPLY=( $(compgen -W "--id" -- ${cur}) )
|
||||||
|
;;
|
||||||
|
vnicattachments)
|
||||||
|
COMPREPLY=( $(compgen -W "--compartment-id --filter"
|
||||||
|
-- ${cur}) )
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
if [[ " ${COMP_WORDS[*]} " == *" list images"* ||
|
if [[ " ${COMP_WORDS[*]} " == *" list images"* ||
|
||||||
" ${COMP_WORDS[*]} " == *" list instances"* ]]; then
|
" ${COMP_WORDS[*]} " == *" list instances"* ]]; then
|
||||||
@@ -2857,4 +2864,9 @@ _VBoxManage() {
|
|||||||
complete -o default -F _VBoxManage VBoxManage
|
complete -o default -F _VBoxManage VBoxManage
|
||||||
complete -o default -F _VBoxManage vboxmanage
|
complete -o default -F _VBoxManage vboxmanage
|
||||||
|
|
||||||
|
if [[ "${BASH_SOURCE[0]}" != 'VBoxManage' &&
|
||||||
|
"${BASH_SOURCE[0]}" != 'vboxmanage' ]]; then
|
||||||
|
complete -o default -F _VBoxManage $(basename "${BASH_SOURCE[0]}")
|
||||||
|
fi
|
||||||
|
|
||||||
# vim: set ft=sh tw=80 sw=4 et :
|
# vim: set ft=sh tw=80 sw=4 et :
|
||||||
|
|||||||
Reference in New Issue
Block a user