nixos/fzf: fix fish shell commmand

This commit is contained in:
Mario Rodas 2024-04-07 04:20:00 +00:00
parent 41d1adec69
commit 9d27034eba

View file

@ -9,11 +9,11 @@ in
{ {
imports = [ imports = [
(lib.mkRemovedOptionModule [ "programs" "fzf" "keybindings" ] '' (lib.mkRemovedOptionModule [ "programs" "fzf" "keybindings" ] ''
Use "programs.fzf.enabled" instead, due to fzf upstream-change it's not possible to load shell-completion and keybindings seperatly. Use "programs.fzf.enabled" instead, due to fzf upstream-change it's not possible to load shell-completion and keybindings separately.
If you want to change/disable certain keybindings please check the fzf-documentation. If you want to change/disable certain keybindings please check the fzf-documentation.
'') '')
(lib.mkRemovedOptionModule [ "programs" "fzf" "fuzzyCompletion" ] '' (lib.mkRemovedOptionModule [ "programs" "fzf" "fuzzyCompletion" ] ''
Use "programs.fzf.enabled" instead, due to fzf upstream-change it's not possible to load shell-completion and keybindings seperatly. Use "programs.fzf.enabled" instead, due to fzf upstream-change it's not possible to load shell-completion and keybindings separately.
If you want to change/disable certain keybindings please check the fzf-documentation. If you want to change/disable certain keybindings please check the fzf-documentation.
'') '')
]; ];
@ -30,7 +30,7 @@ in
''; '';
programs.fish.interactiveShellInit = '' programs.fish.interactiveShellInit = ''
eval "$(${getExe pkgs.fzf} --fish)" ${getExe pkgs.fzf} --fish | source
''; '';
programs.zsh = { programs.zsh = {