diff options
author | Luflosi <luflosi@luflosi.de> | 2022-03-04 14:45:31 +0100 |
---|---|---|
committer | Luflosi <luflosi@luflosi.de> | 2022-03-04 14:52:29 +0100 |
commit | 0c35cd1ddbe958c9892677c855f00917eb034dc1 (patch) | |
tree | cd8ef85edc64416a42fdeff2a4e0546f14d39aa9 /pkgs/applications/terminal-emulators | |
parent | 212c834fc3f4a492032e41b641f7f14add0d62e3 (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.nix | 6 |
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"'' |