diff options
author | Hugo Stijns <hugo@boosboos.net> | 2021-06-12 05:04:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-11 20:04:58 -0700 |
commit | 00ccb449907d322c6bfa53f17e96cbf48651fee3 (patch) | |
tree | c5bbbab2a195554a0050da867c9bfae6e94ef002 /plugins/vagrant | |
parent | 270db708059909b575cd747789580f8a3dbf7baa (diff) | |
download | zsh-00ccb449907d322c6bfa53f17e96cbf48651fee3.tar.gz zsh-00ccb449907d322c6bfa53f17e96cbf48651fee3.tar.bz2 zsh-00ccb449907d322c6bfa53f17e96cbf48651fee3.zip |
fix(vagrant): Allow dot in Vagrant box name (#4803)
Diffstat (limited to 'plugins/vagrant')
-rw-r--r-- | plugins/vagrant/_vagrant | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/vagrant/_vagrant b/plugins/vagrant/_vagrant index 3e16dbebf..e88835506 100644 --- a/plugins/vagrant/_vagrant +++ b/plugins/vagrant/_vagrant @@ -69,7 +69,7 @@ __box_list () __vm_list () { - _wanted application expl 'command' compadd $(command grep "${VAGRANT_CWD:-.}/Vagrantfile" -oe '^[^#]*\.vm\.define *[:"]\([a-zA-Z0-9_-]\+\)' 2>/dev/null | awk '{print substr($2, 2)}') + _wanted application expl 'command' compadd $(command grep "${VAGRANT_CWD:-.}/Vagrantfile" -oe '^[^#]*\.vm\.define *[:"]\([a-zA-Z0-9\._-]\+\)' 2>/dev/null | awk '{print substr($2, 2)}') _wanted application expl 'command' compadd $(command ls "${VAGRANT_CWD:-.}/.vagrant/machines/" 2>/dev/null) } |