From d30c1d30bfbc287883c3d9e2ee811e2ac22ff879 Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Thu, 13 Mar 2025 09:22:18 -0500 Subject: [PATCH] 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 --- modules/programs/zoxide.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/programs/zoxide.nix b/modules/programs/zoxide.nix index 95364f04b..085583e1b 100644 --- a/modules/programs/zoxide.nix +++ b/modules/programs/zoxide.nix @@ -52,9 +52,9 @@ in { 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})" - ''; + ''); programs.fish.interactiveShellInit = mkIf cfg.enableFishIntegration '' ${cfg.package}/bin/zoxide init fish ${cfgOptions} | source