mirror of
https://github.com/nix-community/home-manager
synced 2024-11-26 21:19:45 +01:00
zoxide: fix fzf bash-completion conflict
When zoxide initializes after fzf it causes fzf " ** " trigger to not work. To fix the issue we needed to make zoxide initialize earlier than fzf but after bash-completion. PR #5955
This commit is contained in:
parent
892a6443b7
commit
fe56302339
1 changed files with 2 additions and 2 deletions
|
@ -68,9 +68,9 @@ in {
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
home.packages = [ cfg.package ];
|
home.packages = [ cfg.package ];
|
||||||
|
|
||||||
programs.bash.initExtra = mkIf cfg.enableBashIntegration ''
|
programs.bash.initExtra = mkIf cfg.enableBashIntegration (mkOrder 150 ''
|
||||||
eval "$(${cfg.package}/bin/zoxide init bash ${cfgOptions})"
|
eval "$(${cfg.package}/bin/zoxide init bash ${cfgOptions})"
|
||||||
'';
|
'');
|
||||||
|
|
||||||
programs.zsh.initExtra = mkIf cfg.enableZshIntegration ''
|
programs.zsh.initExtra = mkIf cfg.enableZshIntegration ''
|
||||||
eval "$(${cfg.package}/bin/zoxide init zsh ${cfgOptions})"
|
eval "$(${cfg.package}/bin/zoxide init zsh ${cfgOptions})"
|
||||||
|
|
Loading…
Reference in a new issue