Compare commits

..

4 Commits

Author SHA1 Message Date
gryf c051a4ed9d Merge pull request #15 from borekon/patch-1
added the ubuntu default bash completion folder
2025-06-09 09:37:26 +02:00
Alfonso 593ec245e5 added the ubuntu default bash completion folder
~/.local/share/bash-completion is the default if if $XDG_DATA_HOME is not set
2025-06-06 09:59:55 +02:00
gryf e681abb354 Bump to version 7.0.22 2025-01-01 16:37:40 +01:00
gryf cd90fc60bd Bump to version 7.0.20 2024-10-07 11:16:01 +02:00
2 changed files with 5 additions and 4 deletions
+2 -1
View File
@@ -6,7 +6,7 @@ script. However, in some point of time I've decided to rewrite it almost from
scratch.
Current version of script was written and tested against VBoxManage in version
7.0.14, and should contain all commands and their options.
7.0.22, and should contain all commands and their options.
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:
@@ -42,6 +42,7 @@ be:
* ~/bash-completion.d/
* /usr/local/etc/bash-completion.d/
* /etc/bash_completion.d/
* ~/.local/share/bash-completion
* etc.
It's also okay to copy it into some directory, and place proper line in
+3 -3
View File
@@ -3,7 +3,7 @@
# Author: Roman 'gryf' Dobosz <gryf73@gmail.com>
# URL: https://github.com/gryf/vboxmanage-bash-completion
# License: 3-clause BSD-style license (see LICENSE file)
# Version: 7.0.14
# Version: 7.0.22
_VBoxManage() {
@@ -1045,7 +1045,7 @@ _VBoxManage() {
;;
createvm)
items=( --basefolder --cipher --default --group --name --ostype
items=( --basefolder --cipher --default --groups --name --ostype
--password-id --password --register --uuid )
if [[ ${prev} == ${cmd} ]]; then
COMPREPLY=( $(compgen -W "${items[*]}" -- ${cur}) )
@@ -1054,7 +1054,7 @@ _VBoxManage() {
COMPREPLY=( $(compgen -W "$result" -- ${cur}) )
case "${prev}" in
--group)
--groups)
COMPREPLY=()
_group_comp
;;