mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 05:29:46 +01:00
fzf: fix fish integration
Since fzf 0.43.0, the fzf_key_bindings function is only defined when
fish is running interactively, see [1].
This caused errors when entering non-interactive fish shells since we
called fzf_key_bindings during startup.
[1]: 7e89458a3b
This commit is contained in:
parent
05649393ac
commit
cffc9938c7
1 changed files with 1 additions and 1 deletions
|
@ -190,7 +190,7 @@ in {
|
|||
fi
|
||||
'');
|
||||
|
||||
programs.fish.shellInit = mkIf cfg.enableFishIntegration ''
|
||||
programs.fish.interactiveShellInit = mkIf cfg.enableFishIntegration ''
|
||||
source ${cfg.package}/share/fzf/key-bindings.fish && fzf_key_bindings
|
||||
'';
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue