forked from mirrors/nixpkgs
exa: install man page and shell completions
This commit is contained in:
parent
bb07e8903d
commit
5948024c40
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue