Skip to content

Commit

Permalink
bat: don't install shell completions
Browse files Browse the repository at this point in the history
Currently having the shell completions makes it
impossible to complete filenames.

Upstream Issue: sharkdp/bat#372
  • Loading branch information
worldofpeace authored and danbst committed Jan 31, 2019
1 parent 21b5acc commit b606b5d
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions pkgs/tools/misc/bat/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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; {
Expand Down

0 comments on commit b606b5d

Please sign in to comment.