diff options
author | Samuel Dionne-Riel <samuel@dionne-riel.com> | 2019-07-27 14:44:13 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-27 14:44:13 -0400 |
commit | ace0aced36ca89c19fa5ea6dd678924cec72e743 (patch) | |
tree | 89c7954bfcb016dda98c89dd39cf43b7bffac733 /pkgs | |
parent | 7441d6d27407d0fb4bc6b2c0d8cf529da15cfc8f (diff) | |
parent | 41881902e8ea9dbd2976461048ad3d7907ba38a2 (diff) |
Merge pull request #65465 from plumelo/feature/vagrant-completions
vagrant: add bash completions
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/tools/vagrant/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/tools/vagrant/default.nix b/pkgs/development/tools/vagrant/default.nix index 7b47cf0aa0891..324e22d491e2c 100644 --- a/pkgs/development/tools/vagrant/default.nix +++ b/pkgs/development/tools/vagrant/default.nix @@ -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 \ |