51 Commits

Author SHA1 Message Date
hashicorp-copywrite[bot]
36a312ee26
add missing license headers and update copyright file headers to BUS-1.1 2023-08-10 21:53:25 +01:00
bronzdoc
3f08d3383d Make bash completion for "vagrant box add" patch by @ip1981 2022-10-19 17:02:23 -06:00
Hiroshi SHIBATA
cafd39265e
Fixed typo 2021-10-28 21:59:30 +09:00
Dan Čermák
54f892c6dc
Fix indentation in contrib/README.md 2020-12-04 14:55:50 +01:00
sophia
fb1faed525 Remove new line from beginning of completion script 2020-10-14 12:10:58 -05:00
Sophia Castellarin
7eb55bdecf
Merge pull request #11520 from soapy1/zsh-completion
Add zsh completion
2020-07-23 13:57:48 -05:00
sophia
786e8cb1a1 Update sudoers info for suse hosts 2020-06-05 14:22:41 -05:00
sophia
296d9bd2a3 Generate zsh completion script 2020-05-19 13:42:22 -04:00
sophia
dd5b232824 Install zsh autocomplete 2020-05-14 11:29:13 -04:00
sophia
a37921f7a6 Add plugin subcommand 2020-05-14 11:29:10 -04:00
sophia
4bd3b3d027 Add snapshot subcommand 2020-04-15 16:53:46 -04:00
sophia
9b6aa738db Add box subcommands 2020-04-15 16:35:41 -04:00
sophia
c196f6237a Add zsh completion 2020-04-15 13:26:35 -04:00
Per Lundberg
527dda241f
completion.sh: add more up options
I noted the `--provision` option which I currently needed (to retry an Ansible playbook that had failed) was missing, so I added this along with all other options I could find. They are ordered in the same order as they are listed in the `--help` output.
2019-11-28 16:05:58 +02:00
Waldemar Żurowski
a2a848285c
Search for running_vm_list only in machines folder
otherwise it might catch a non-machine id, in my case, for hostmanager plugin
2019-05-09 18:07:23 +01:00
Brian Cain
b92b1ba0bb
Add cloud command to bash completion 2018-10-12 09:49:49 -07:00
Christian Stocker
f44b98238c
Fix the pretty broken sudoers file for OS X 2018-09-24 23:39:01 +02:00
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
Chris Roberts
0ffec9cd6f Include explicit start to ensure start 2018-01-12 14:25:37 -08:00
Chris Roberts
98ec1af30e Add smb_start capability for darwin 2018-01-02 11:21:50 -08:00
Chris Roberts
68439f6bac Use sudo for sharing lists on darwin platform
On systems prior to high sierra the sharing binary
requires root user for access, so use sudo to get
full list output and inspect output.
2017-12-21 14:53:55 -08:00
Chris Roberts
00d250b994 Add SMB entries to OSX sudoers file 2017-12-21 12:50:06 -08: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
Kristoffer Grönlund
6f0b72ea23 Update sudoers file for SUSE 2017-09-09 11:52:19 +02:00
Brian Cain
15518a8cad (#8842) Update contrib sudoers file for Ubuntu
This commit updates the Ubuntu sudoers file in contrib to be up to date
with the documentation.
2017-08-07 13:15:40 -07: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
01e91882f0 Merge pull request #7270 from lpenz/nfspager
Do not let NFS systemctl status use a pager
2016-06-06 19:11:41 -04: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
penz
d29acc8982 Do not let NFS systemctl status use a pager
Call it with "--no-pager"
Without it, if the user has a pager (more/less/etc.) configured and
call vagrant up with NFS shares, systemctl would use the pager, and
that would probably require an unnecessary key press from the user.
2016-04-28 13:28:37 -03:00
Kammy
67c4de3b81 update bash completion(snapshot) 2016-04-10 12:44:01 +09:00
Ruben Vermeersch
3c1c553789 Document missing sudoers item 2015-11-27 09:49:38 +01:00
Kristoffer Grönlund
04fb0d99f6 Fix sudoers files after change to cleanup command
PR #5773 modified the cleanup command so that the
example sudoers scripts no longer match.
2015-09-28 09:17:40 +02:00
Kristoffer Grönlund
702e8d6324 Add a sudoers script for SUSE 2015-09-28 09:10:46 +02: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
Ivan Nečas
3099a2c4fb Sudoers example for Fedora distros 2014-12-15 10:54:36 +01:00
Kura
13f4b62018 Merging in latest version from kura/vagrant-bash-completion 2014-05-12 12:20:32 +01:00
Jon Topper
d85fa99ffb Added example sudoers config to contrib 2014-05-06 12:43:50 +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
Adam Lazzarato
fa6aa640f9 ST3 Vagrantfile syntax highlighting 2014-03-10 11:16:36 -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
Mitchell Hashimoto
5ae7f2691b Emacs Vagrantfile config 2011-01-05 17:13:30 -08:00
Mitchell Hashimoto
7cfa2b6986 README in contrib directory 2011-01-05 17:06:58 -08:00