about summary refs log tree commit diff
path: root/config/zsh/zshenv.nix
diff options
context:
space:
mode:
Diffstat (limited to 'config/zsh/zshenv.nix')
-rw-r--r--config/zsh/zshenv.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/config/zsh/zshenv.nix b/config/zsh/zshenv.nix
new file mode 100644
index 000000000000..2ddac9a385b6
--- /dev/null
+++ b/config/zsh/zshenv.nix
@@ -0,0 +1,9 @@
+{ setEnvironment }:
+
+''
+unsetopt GLOBAL_RCS
+
+if [ -z "$__NIXOS_SET_ENVIRONMENT_DONE" ]; then
+    . ${setEnvironment}
+fi
+''