mirror of
https://github.com/gryf/vboxmanage-bash-completion.git
synced 2025-12-17 11:30:23 +01:00
Bump to 5.2.26
Added guesttohost and bidirectional parameters for --draganddrop option for both: controlvm and modifyvm.
This commit is contained in:
@@ -6,7 +6,7 @@ script. However, in some point of time I've decided to rewrite it almost from
|
|||||||
scratch.
|
scratch.
|
||||||
|
|
||||||
Current version of script was written and tested against VBoxManage in version
|
Current version of script was written and tested against VBoxManage in version
|
||||||
5.2.22, and supports all commands (in some extent ;)).
|
5.2.26, and supports all commands (in some extent ;)).
|
||||||
|
|
||||||
Unlike other attempts, I've tried to make the script context aware. See the
|
Unlike other attempts, I've tried to make the script context aware. See the
|
||||||
simple session with the VBoxManage command below, to have an idea how it works:
|
simple session with the VBoxManage command below, to have an idea how it works:
|
||||||
|
|||||||
10
VBoxManage
10
VBoxManage
@@ -4,7 +4,7 @@
|
|||||||
# URL: https://bitbucket.org/gryf/vboxmanage-bash-completion
|
# URL: https://bitbucket.org/gryf/vboxmanage-bash-completion
|
||||||
# URL: https://github.com/gryf/vboxmanage-bash-completion
|
# URL: https://github.com/gryf/vboxmanage-bash-completion
|
||||||
# License: 3-clause BSD-style license (see LICENSE file)
|
# License: 3-clause BSD-style license (see LICENSE file)
|
||||||
# Version: 5.2.22
|
# Version: 5.2.26
|
||||||
|
|
||||||
_VBoxManage() {
|
_VBoxManage() {
|
||||||
local cur prev opts cmd subcommand tmp items name index result
|
local cur prev opts cmd subcommand tmp items name index result
|
||||||
@@ -686,8 +686,8 @@ _VBoxManage() {
|
|||||||
;;
|
;;
|
||||||
draganddrop)
|
draganddrop)
|
||||||
[[ ${prev} == "draganddrop" ]] && \
|
[[ ${prev} == "draganddrop" ]] && \
|
||||||
COMPREPLY=( $(compgen -W "disabled
|
COMPREPLY=( $(compgen -W "disabled hosttoguest
|
||||||
hosttoguest" -- ${cur}) )
|
guesttohost bidirectional" -- ${cur}) )
|
||||||
;;
|
;;
|
||||||
vrde|videocap)
|
vrde|videocap)
|
||||||
[[ ${prev} == "vrde" ||
|
[[ ${prev} == "vrde" ||
|
||||||
@@ -1791,8 +1791,8 @@ _VBoxManage() {
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
--draganddrop)
|
--draganddrop)
|
||||||
COMPREPLY+=( $(compgen -W "disabled hosttoguest" \
|
COMPREPLY+=( $(compgen -W "disabled hosttoguest
|
||||||
-- ${cur}) )
|
guesttohost bidirectional" -- ${cur}) )
|
||||||
;;
|
;;
|
||||||
|
|
||||||
--vrdeextpack|--vrdeauthlibrary|--snapshotfolder|\
|
--vrdeextpack|--vrdeauthlibrary|--snapshotfolder|\
|
||||||
|
|||||||
Reference in New Issue
Block a user