Merge pull request #65465 from plumelo/feature/vagrant-completions
vagrant: add bash completions
This commit is contained in:
commit
ace0aced36
|
@ -68,6 +68,9 @@ in buildRubyGem rec {
|
||||||
|
|
||||||
mkdir -p "$out/vagrant-plugins/plugins.d"
|
mkdir -p "$out/vagrant-plugins/plugins.d"
|
||||||
echo '{}' > "$out/vagrant-plugins/plugins.json"
|
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 ''
|
lib.optionalString withLibvirt ''
|
||||||
substitute ${./vagrant-libvirt.json.in} $out/vagrant-plugins/plugins.d/vagrant-libvirt.json \
|
substitute ${./vagrant-libvirt.json.in} $out/vagrant-plugins/plugins.d/vagrant-libvirt.json \
|
||||||
|
|
Loading…
Reference in New Issue