mirror of
https://github.com/gryf/vboxmanage-bash-completion.git
synced 2025-12-17 11:30:23 +01:00
Added installation instructions and license
This commit is contained in:
24
LICENSE
Normal file
24
LICENSE
Normal file
@@ -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.
|
||||||
8
README
8
README
@@ -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 ;)).
|
|
||||||
36
README.rst
Normal file
36
README.rst
Normal file
@@ -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.
|
||||||
@@ -1,6 +1,7 @@
|
|||||||
# bash command-line completion for VBoxManage command
|
# bash command-line completion for VBoxManage command
|
||||||
#
|
#
|
||||||
# Author: Roman 'gryf' Dobosz <gryf73@gmail.com>
|
# Author: Roman 'gryf' Dobosz <gryf73@gmail.com>
|
||||||
|
# License: 3-clause BSD-style license (see LICENSE file)
|
||||||
|
|
||||||
_VBoxManage() {
|
_VBoxManage() {
|
||||||
local cur prev opts cmd subcommand tmp items name index result
|
local cur prev opts cmd subcommand tmp items name index result
|
||||||
|
|||||||
Reference in New Issue
Block a user