summary refs log tree commit diff
path: root/pkgs/tools/admin/procs
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2021-09-04 02:00:00 -0500
committerRaphael Megzari <raphael@megzari.com>2021-09-04 19:53:22 +0900
commit9cf254c40c6fbc559d8ff5007d74c7384b476610 (patch)
treedf368b631e60bf902c0a24308cf63037c16e45b4 /pkgs/tools/admin/procs
parent957cec873f061130193162e78a2f79c6bca0d03c (diff)
procs: fix completions installation
Diffstat (limited to 'pkgs/tools/admin/procs')
-rw-r--r--pkgs/tools/admin/procs/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/admin/procs/default.nix b/pkgs/tools/admin/procs/default.nix
index 0578bb4703cc7..c13e40c5c5748 100644
--- a/pkgs/tools/admin/procs/default.nix
+++ b/pkgs/tools/admin/procs/default.nix
@@ -17,9 +17,9 @@ rustPlatform.buildRustPackage rec {
 
   postInstall = ''
     for shell in bash fish zsh; do
-      $out/bin/procs --completion $shell > procs.$shell
-      installShellCompletion procs.$shell
+      $out/bin/procs --completion $shell
     done
+    installShellCompletion procs.{bash,fish} --zsh _procs
   '';
 
   buildInputs = lib.optionals stdenv.isDarwin [ Security libiconv ];