mirror of
https://github.com/nix-community/home-manager.git
synced 2025-03-26 01:51:37 +00:00
zoxide: move to bottom of zsh content
Follow up to https://github.com/nix-community/home-manager/pull/6572, possible to fix now with https://github.com/nix-community/home-manager/pull/6479
This commit is contained in:
parent
6576167e6b
commit
d30c1d30bf
1 changed files with 2 additions and 2 deletions
|
@ -52,9 +52,9 @@ in {
|
||||||
eval "$(${cfg.package}/bin/zoxide init bash ${cfgOptions})"
|
eval "$(${cfg.package}/bin/zoxide init bash ${cfgOptions})"
|
||||||
'');
|
'');
|
||||||
|
|
||||||
programs.zsh.initExtra = mkIf cfg.enableZshIntegration ''
|
programs.zsh.initContent = mkIf cfg.enableZshIntegration (mkOrder 2000 ''
|
||||||
eval "$(${cfg.package}/bin/zoxide init zsh ${cfgOptions})"
|
eval "$(${cfg.package}/bin/zoxide init zsh ${cfgOptions})"
|
||||||
'';
|
'');
|
||||||
|
|
||||||
programs.fish.interactiveShellInit = mkIf cfg.enableFishIntegration ''
|
programs.fish.interactiveShellInit = mkIf cfg.enableFishIntegration ''
|
||||||
${cfg.package}/bin/zoxide init fish ${cfgOptions} | source
|
${cfg.package}/bin/zoxide init fish ${cfgOptions} | source
|
||||||
|
|
Loading…
Add table
Reference in a new issue