wilas / vbkick

Tool for building and maintaining VirtualBox VMs described as a code in a single definition file.
Other
8 stars 5 forks source link

Feature request: vbkick autocomplete, especially for virtualboxes #48

Open gregelin opened 10 years ago

gregelin commented 10 years ago

The more explicitly I name my virtual boxes, the more I have to use vbkick to find the name and then copy and paste the name. Adding autocomplete to command line would improve user experience.

References: http://www.tldp.org/LDP/abs/html/tabexpansion.html http://askubuntu.com/questions/68175/how-to-create-script-with-auto-complete http://www.gnu.org/software/bash/manual/bash.html#Programmable-Completion-Builtins

wilas commented 10 years ago

There is a small part already done here: https://github.com/wilas/vbkick/blob/master/docs/HELP_YOURSELF.md

There is not yet autocomplete for a second/third/etc arguments. I agree that it's something nice to have and could be placed in contrib/completion/bash/vbkick