Commit Graph

17 Commits

Author SHA1 Message Date
Brian Cain 31689b6032
Merge pull request #9054 from tom-mi/master
Add completion for snapshot names for vagrant snapshot restore|delete
2018-09-17 11:47:32 -07:00
Gabriel Filion da600bc940 bash: complete running VM names for destroy subcommand
for some reason there is currently no completion at all for the destroy
subcommand. like the other commands already present in that code block,
destroy acts on currently running VMs and so it makes sense to complete
those names.
2018-09-03 04:00:47 -04:00
Andreas Grapentin 31766f8ba1
contrib/bash/completion.sh: replaced -VAGRANTSLASH- with a literal slash in box names 2018-07-04 13:55:05 +02:00
Thomas Reifenberger 52bf853cee Add completion for snapshot names for vagrant snapshot restore|delete
- Note that this does not cover additional options like --no-provision
- It is also a bit slow, as `vagrant snapshot list` is used to gather
  the data
2017-10-13 12:59:01 +02:00
Alvaro Miranda Aguilera 4c3b202c09 add prune to contrib bash completion
add prune command to completion.sh
2017-07-20 23:08:58 +02:00
Patrick F. Marques 68d019926f Fix vagrant bash completion when path have spaces 2017-03-06 22:47:26 +00:00
Seth Vargo bf96b3348b
provider/docker: Add docker-exec command
This adds a new core command, `docker-exec`, which allows the user to
exec into an already-running container.

- Fixes #6566
- Fixes #5193
- Fixes #4904
- Fixes #4057
- Fixes #4179
- Fixes #4903
2016-05-31 20:05:26 -04:00
Kammy 67c4de3b81 update bash completion(snapshot) 2016-04-10 12:44:01 +09:00
Evgeny Vereshchagin 06d4d23662 Update bash-completion
Add command: push
Add subcommands for box: outdated, update
2015-08-07 02:07:30 +03:00
Mattias Appelgren 0b737b8683 contrib/bash: Auto-complete VMs for up command 2015-03-25 15:51:23 +01:00
mdirik 63f4f1e61b Make completion.sh respect VAGRANT_HOME
When VAGRANT_HOME is set to a different path than $HOME/.vagrant.d, bash
completions regarding box names fails with an error like:

"$ vagrant init <TAB> find: `/home/mert/.vagrant.d/boxes': No such file or directory"

This commit makes completion.sh respect VAGRANT_HOME if it is set. It will continue to use $HOME/.vagrant.d otherwise.
2014-12-23 14:24:38 +02:00
Kura 13f4b62018 Merging in latest version from kura/vagrant-bash-completion 2014-05-12 12:20:32 +01:00
Mitchell Hashimoto 7fa3c35676 Update completion.sh 2014-05-02 09:50:51 -07:00
Adam Lazzarato e2367e1c01 Update contrib/README & bash shebang line 2014-03-10 11:18:20 -04:00
Eugene Kalinin 898bff4442 Improved autocompletion for bash 2013-05-24 13:45:44 +04:00
Ole Michaelis f59054dae4 Make it more future proof by not using first and last command
also fixed a typo
2012-04-24 21:46:54 +02:00
Ole Michaelis 5038cc82b2 added completion for bash 2012-04-14 16:59:04 +02:00