diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..d992403 --- /dev/null +++ b/LICENSE @@ -0,0 +1,24 @@ +Copyright (c) 2015, Roman Dobosz +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + * Neither the name of the organization nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL ROMAN DOBOSZ BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/README b/README deleted file mode 100644 index bdcd420..0000000 --- a/README +++ /dev/null @@ -1,8 +0,0 @@ -VBoxManage bash completion script. - -This version of the completion was initially based on Sebastian T. Hafner -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 -4.3.28, and supports all commands (in some extent ;)). diff --git a/README.rst b/README.rst new file mode 100644 index 0000000..a620d53 --- /dev/null +++ b/README.rst @@ -0,0 +1,36 @@ +VBoxManage bash completion script +================================= + +This version of the completion was initially based on Sebastian T. Hafner +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 +4.3.28, and supports all commands (in some extent ;)). + + +Installation +============ + +Either source the file:: + + $ . /path/to/this/repo/VBoxManage + +or add it to a proper place depending on your distribution. Ususal place would +be: + +* ~/bash-completion.d/ +* /usr/local/etc/bash-completion.d/ +* /etc/bash_completion.d/ +* etc. + +It's also okay to copy it into some directory, and place proper line in +``.profile`` or ``.bashrc``:: + + source /some/directory/VBoxManage + +License +======= + +This software is licensed under 3-clause BSD license. See LICENSE file for +details. diff --git a/VBoxManage b/VBoxManage index 212ee27..3fc0411 100644 --- a/VBoxManage +++ b/VBoxManage @@ -1,6 +1,7 @@ # bash command-line completion for VBoxManage command # # Author: Roman 'gryf' Dobosz +# License: 3-clause BSD-style license (see LICENSE file) _VBoxManage() { local cur prev opts cmd subcommand tmp items name index result