Merge pull request #65465 from plumelo/feature/vagrant-completions
vagrant: add bash completions
This commit is contained in:
commit
ace0aced36
1 changed files with 3 additions and 0 deletions
|
@ -68,6 +68,9 @@ in buildRubyGem rec {
|
|||
|
||||
mkdir -p "$out/vagrant-plugins/plugins.d"
|
||||
echo '{}' > "$out/vagrant-plugins/plugins.json"
|
||||
|
||||
mkdir -p $out/share/bash-completion/completions/
|
||||
cp -av contrib/bash/completion.sh $out/share/bash-completion/completions/vagrant
|
||||
'' +
|
||||
lib.optionalString withLibvirt ''
|
||||
substitute ${./vagrant-libvirt.json.in} $out/vagrant-plugins/plugins.d/vagrant-libvirt.json \
|
||||
|
|
Loading…
Reference in a new issue