diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2022-12-09 10:02:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-09 10:02:04 +0100 |
commit | 18ab3af0d446369dacc12eec75b7eab6b8f6c154 (patch) | |
tree | 5624e757cef79d6d07caa65c5a6c0bfdadf75af3 /nixos/modules/programs | |
parent | 0d6316e7b378bfedbd344a373cf3a21d7515fc0b (diff) | |
parent | 86ae48a4bf2387f6ea3ec413506f8f4be3ed2722 (diff) |
Merge pull request #205251 from InternetUnexplorer/fix-fish-skim-keybindings
Diffstat (limited to 'nixos/modules/programs')
-rw-r--r-- | nixos/modules/programs/skim.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/nixos/modules/programs/skim.nix b/nixos/modules/programs/skim.nix index 1333cdd30ab23..57a5d68ec3d5a 100644 --- a/nixos/modules/programs/skim.nix +++ b/nixos/modules/programs/skim.nix @@ -6,7 +6,7 @@ in { options = { programs.skim = { - fuzzyCompletion = mkEnableOption (mdDoc "fuzzy Completion with skim"); + fuzzyCompletion = mkEnableOption (mdDoc "fuzzy completion with skim"); keybindings = mkEnableOption (mdDoc "skim keybindings"); package = mkPackageOption pkgs "skim" {}; }; @@ -26,5 +26,9 @@ in '' + optionalString cfg.keybindings '' source ${cfg.package}/share/skim/key-bindings.zsh ''; + + programs.fish.interactiveShellInit = optionalString cfg.keybindings '' + source ${cfg.package}/share/skim/key-bindings.fish && skim_key_bindings + ''; }; } |