From 9cf254c40c6fbc559d8ff5007d74c7384b476610 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Sat, 4 Sep 2021 02:00:00 -0500 Subject: procs: fix completions installation --- pkgs/tools/admin/procs/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkgs/tools/admin/procs') 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 ]; -- cgit 1.4.1