forked from mirrors/nixpkgs
bat: don't install shell completions
Currently having the shell completions makes it impossible to complete filenames. Upstream Issue: https://github.com/sharkdp/bat/issues/372
This commit is contained in:
parent
72dba7b70d
commit
2edd1c8fe0
|
@ -22,13 +22,6 @@ rustPlatform.buildRustPackage rec {
|
|||
|
||||
postInstall = ''
|
||||
install -m 444 -Dt $out/share/man/man1 doc/bat.1
|
||||
|
||||
install -Dm644 target/release/build/bat-*/out/_bat \
|
||||
"$out/share/zsh/site-functions/_bat"
|
||||
install -Dm644 target/release/build/bat-*/out/bat.bash \
|
||||
"$out/share/bash-completions/completions/bat.bash"
|
||||
install -Dm644 target/release/build/bat-*/out/bat.fish \
|
||||
"$out/share/fish/vendor_completions.d/bat.fish"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
|
Loading…
Reference in a new issue