From ce973968303547a59d5377cd61e9cfac0e696ca2 Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Wed, 17 Nov 2021 09:03:27 -0500 Subject: [PATCH] profiles/shells: add kitty completion to bash/fish --- users/profiles/shells/bash.nix | 3 +++ users/profiles/shells/fish.nix | 3 +++ 2 files changed, 6 insertions(+) diff --git a/users/profiles/shells/bash.nix b/users/profiles/shells/bash.nix index de58b78..7ba4abd 100644 --- a/users/profiles/shells/bash.nix +++ b/users/profiles/shells/bash.nix @@ -5,6 +5,9 @@ bash = { enable = true; enableVteIntegration = true; + initExtra = '' + source <(kitty + complete setup bash) + ''; }; starship.enableBashIntegration = true; diff --git a/users/profiles/shells/fish.nix b/users/profiles/shells/fish.nix index ca93b5f..3f73898 100644 --- a/users/profiles/shells/fish.nix +++ b/users/profiles/shells/fish.nix @@ -6,6 +6,9 @@ enable = true; functions = { }; shellAbbrs = { }; + interactiveShellInit = '' + kitty + complete setup fish | source + ''; }; starship.enableFishIntegration = lib.mkIf config.programs.starship.enable true;