about summary refs log tree commit diff
path: root/pkgs/applications/terminal-emulators
diff options
context:
space:
mode:
authorLuflosi <luflosi@luflosi.de>2022-03-04 14:45:31 +0100
committerLuflosi <luflosi@luflosi.de>2022-03-04 14:52:29 +0100
commit0c35cd1ddbe958c9892677c855f00917eb034dc1 (patch)
treecd8ef85edc64416a42fdeff2a4e0546f14d39aa9 /pkgs/applications/terminal-emulators
parent212c834fc3f4a492032e41b641f7f14add0d62e3 (diff)
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!
Diffstat (limited to 'pkgs/applications/terminal-emulators')
-rw-r--r--pkgs/applications/terminal-emulators/kitty/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/applications/terminal-emulators/kitty/default.nix b/pkgs/applications/terminal-emulators/kitty/default.nix
index 2b7a468710884..45b56caf89d38 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"''