git.iko.soy/typeable/nixpkgs
on master help sign in
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

commit2edd1c8fe04e7449c99c9822b5e8ec83719b56b6 authorworldofpeace <worldofpeace@users.noreply.github.com> dateFri 25 Jan 2019, 14:32 (8 years ago) parent72dba7b
1 file changed−7
pkgs/tools/misc/bat/default.nix−7
pkgs/tools/misc/bat/default.nix−7
@@ -22,13 +22,6 @@ rustPlatform.buildRustPackage rec {
2222
2323 postInstall = ''
2424 install -m 444 -Dt $out/share/man/man1 doc/bat.1
25−
26− install -Dm644 target/release/build/bat-*/out/_bat \
27− "$out/share/zsh/site-functions/_bat"
28− install -Dm644 target/release/build/bat-*/out/bat.bash \
29− "$out/share/bash-completions/completions/bat.bash"
30− install -Dm644 target/release/build/bat-*/out/bat.fish \
31− "$out/share/fish/vendor_completions.d/bat.fish"
3225 '';
3326
3427 meta = with stdenv.lib; {