diff options
author | Johannes Frankenau <johannes@frankenau.net> | 2018-05-13 21:49:23 +0200 |
---|---|---|
committer | Johannes Frankenau <johannes@frankenau.net> | 2018-05-13 22:51:04 +0200 |
commit | 5948024c40942999f5411914767f6a8bde9739b5 (patch) | |
tree | db27dd53027d0208eb95c71b558bb3ff2c2912d0 /pkgs/tools/misc/exa | |
parent | bb07e8903d25dd294b58426e9e5ad559d6717a5e (diff) |
exa: install man page and shell completions
Diffstat (limited to 'pkgs/tools/misc/exa')
-rw-r--r-- | pkgs/tools/misc/exa/default.nix | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/pkgs/tools/misc/exa/default.nix b/pkgs/tools/misc/exa/default.nix index c07420821ed46..2e6753cec3475 100644 --- a/pkgs/tools/misc/exa/default.nix +++ b/pkgs/tools/misc/exa/default.nix @@ -23,6 +23,20 @@ buildRustPackage rec { libiconv darwin.apple_sdk.frameworks.Security ] ; + postInstall = '' + mkdir -p $out/share/man/man1 + cp contrib/man/exa.1 $out/share/man/man1/ + + mkdir -p $out/share/bash-completion/completions + cp contrib/completions.bash $out/share/bash-completion/completions/exa + + mkdir -p $out/share/fish/vendor_completions.d + cp contrib/completions.fish $out/share/fish/vendor_completions.d/exa.fish + + mkdir -p $out/share/zsh/site-functions + cp contrib/completions.zsh $out/share/zsh/site-functions/_exa + ''; + # Some tests fail, but Travis ensures a proper build doCheck = false; |