about summary refs log tree commit diff
path: root/pkgs/tools/misc/bat
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@users.noreply.github.com>2019-01-25 14:32:07 -0500
committerworldofpeace <worldofpeace@users.noreply.github.com>2019-01-25 14:32:07 -0500
commit2edd1c8fe04e7449c99c9822b5e8ec83719b56b6 (patch)
tree775b6f962919f01f2e23e46a0443cfb62341ad60 /pkgs/tools/misc/bat
parent72dba7b70dee162a08f8a5d023ee1ec02dad1f20 (diff)
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
Diffstat (limited to 'pkgs/tools/misc/bat')
-rw-r--r--pkgs/tools/misc/bat/default.nix7
1 files changed, 0 insertions, 7 deletions
diff --git a/pkgs/tools/misc/bat/default.nix b/pkgs/tools/misc/bat/default.nix
index b4913970715a0..4da8527208e6c 100644
--- a/pkgs/tools/misc/bat/default.nix
+++ b/pkgs/tools/misc/bat/default.nix
@@ -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; {