Merge pull request #31842 from nicknovitski/silver-searcher-completion

silver-searcher: move bash completion to etc/bash-completion.d/

authored by Graham Christensen and committed by GitHub 57e737f5 6a83ee4a

+6
+6
pkgs/tools/text/silver-searcher/default.nix
··· 16 16 nativeBuildInputs = [ autoreconfHook pkgconfig ]; 17 17 buildInputs = [ pcre zlib lzma ]; 18 18 19 + postInstall = '' 20 + mkdir -p $out/etc/bash_completion.d 21 + mv $out/share/the_silver_searcher/completions/ag.bashcomp.sh $out/etc/bash_completion.d 22 + rm -r $out/share/the_silver_searcher 23 + ''; 24 + 19 25 meta = with stdenv.lib; { 20 26 homepage = https://github.com/ggreer/the_silver_searcher/; 21 27 description = "A code-searching tool similar to ack, but faster";