From 0c35cd1ddbe958c9892677c855f00917eb034dc1 Mon Sep 17 00:00:00 2001 From: Luflosi Date: Fri, 4 Mar 2022 14:45:31 +0100 Subject: [PATCH] kitty: generate the newest version of the fish completion Also change the command invocation to be consistent with the official documentation. These changes were suggested by @page-down in https://github.com/NixOS/nixpkgs/pull/162215#issuecomment-1057969939. Thank you! --- pkgs/applications/terminal-emulators/kitty/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/terminal-emulators/kitty/default.nix b/pkgs/applications/terminal-emulators/kitty/default.nix index 2b7a46871088..45b56caf89d3 100644 --- a/pkgs/applications/terminal-emulators/kitty/default.nix +++ b/pkgs/applications/terminal-emulators/kitty/default.nix @@ -132,9 +132,9 @@ buildPythonApplication rec { wrapProgram "$out/bin/kitty" --prefix PATH : "$out/bin:${lib.makeBinPath [ imagemagick xsel ncurses.dev ]}" installShellCompletion --cmd kitty \ - --bash <("$out/bin/kitty" + complete setup bash) \ - --fish <("$out/bin/kitty" + complete setup fish) \ - --zsh <("$out/bin/kitty" + complete setup zsh) + --bash <("$out/bin/kitty" +complete setup bash) \ + --fish <("$out/bin/kitty" +complete setup fish2) \ + --zsh <("$out/bin/kitty" +complete setup zsh) terminfo_src=${if stdenv.isDarwin then ''"$out/Applications/kitty.app/Contents/Resources/terminfo"''