3
0
Fork 0
forked from mirrors/nixpkgs

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

This commit is contained in:
Nick Novitski 2017-11-19 16:34:02 -08:00
parent 5ec0e09239
commit df08fbdf69

View file

@ -16,6 +16,12 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ pcre zlib lzma ];
postInstall = ''
mkdir -p $out/etc/bash_completion.d
mv $out/share/the_silver_searcher/completions/ag.bashcomp.sh $out/etc/bash_completion.d
rm -r $out/share/the_silver_searcher
'';
meta = with stdenv.lib; {
homepage = https://github.com/ggreer/the_silver_searcher/;
description = "A code-searching tool similar to ack, but faster";