summaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
Diffstat (limited to 'zsh')
-rw-r--r--zsh/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/zsh/default.nix b/zsh/default.nix
index c324a33..bc4a795 100644
--- a/zsh/default.nix
+++ b/zsh/default.nix
@@ -25,6 +25,8 @@
};
zshrc = pkgs.writeTextDir ".zshrc" ''
+ # Import before anything else, so that we have the full PATH available for everything following
+ . ${pkgs.nix}/etc/profile.d/nix.sh
# oh-my-zsh
export ZSH=${pkgs.oh-my-zsh}/share/oh-my-zsh
@@ -44,7 +46,6 @@
. ${./zshrc}
. ${./aliases}
- . ${pkgs.nix}/etc/profile.d/nix.sh
'';
zsh = pkgs.writeScriptBin "zsh" ''