feedgnuplot: install shell completions

This commit is contained in:
Mitsuhiro Nakamura 2018-06-28 12:23:55 +09:00
parent 6262034036
commit c315d355be

View file

@ -37,9 +37,12 @@ buildPerlPackage rec {
wrapProgram $out/bin/feedgnuplot \ wrapProgram $out/bin/feedgnuplot \
--prefix "PATH" ":" "$PATH" \ --prefix "PATH" ":" "$PATH" \
--prefix "PERL5LIB" ":" "$PERL5LIB" --prefix "PERL5LIB" ":" "$PERL5LIB"
install -D -m 444 -t $out/share/bash-completion/completions \
completions/bash/feedgnuplot
install -D -m 444 -t $out/share/zsh/site-functions \
completions/zsh/_feedgnuplot
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "General purpose pipe-oriented plotting tool"; description = "General purpose pipe-oriented plotting tool";
homepage = https://github.com/dkogan/feedgnuplot/; homepage = https://github.com/dkogan/feedgnuplot/;