From c315d355bec46edb316c384f461867e9a784d2e2 Mon Sep 17 00:00:00 2001 From: Mitsuhiro Nakamura Date: Thu, 28 Jun 2018 12:23:55 +0900 Subject: [PATCH] feedgnuplot: install shell completions --- pkgs/tools/graphics/feedgnuplot/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/graphics/feedgnuplot/default.nix b/pkgs/tools/graphics/feedgnuplot/default.nix index 58b1e7a9dc9..f998a288287 100644 --- a/pkgs/tools/graphics/feedgnuplot/default.nix +++ b/pkgs/tools/graphics/feedgnuplot/default.nix @@ -37,9 +37,12 @@ buildPerlPackage rec { wrapProgram $out/bin/feedgnuplot \ --prefix "PATH" ":" "$PATH" \ --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; { description = "General purpose pipe-oriented plotting tool"; homepage = https://github.com/dkogan/feedgnuplot/;