forked from mirrors/nixpkgs
silver-searcher: move bash completion to etc/bash-completion.d/
This commit is contained in:
parent
5ec0e09239
commit
df08fbdf69
|
@ -16,6 +16,12 @@ stdenv.mkDerivation rec {
|
||||||
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
||||||
buildInputs = [ pcre zlib lzma ];
|
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; {
|
meta = with stdenv.lib; {
|
||||||
homepage = https://github.com/ggreer/the_silver_searcher/;
|
homepage = https://github.com/ggreer/the_silver_searcher/;
|
||||||
description = "A code-searching tool similar to ack, but faster";
|
description = "A code-searching tool similar to ack, but faster";
|
||||||
|
|
Loading…
Reference in a new issue