Add Bash completions for ZFS. (#62986)

* Add Bash completions for ZFS.

* Load completions on demand only.
This commit is contained in:
caadar 2019-06-13 01:15:35 +03:00 committed by Matthew Bauer
parent a9b033d221
commit 57301d9b2f

View File

@ -130,6 +130,9 @@ let
# Remove tests because they add a runtime dependency on gcc
rm -rf $out/share/zfs/zfs-tests
# Add Bash completions.
install -v -m444 -D -t $out/share/bash-completion/completions contrib/bash_completion.d
'';
outputs = [ "out" ] ++ optionals buildUser [ "lib" "dev" ];