From b9d41b156775d572b0dade644eb3340a5c111029 Mon Sep 17 00:00:00 2001 From: ndwarshuis Date: Sat, 3 Jun 2023 20:37:25 -0400 Subject: [PATCH] ENH don't include PATH if on nix --- dot_zshenv.tmpl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dot_zshenv.tmpl b/dot_zshenv.tmpl index 5e134d3..f34f4e6 100644 --- a/dot_zshenv.tmpl +++ b/dot_zshenv.tmpl @@ -1,5 +1,7 @@ +{{ if ne .chezmoi.osRelease.id "nixos" -}} # path (include ~/.bin and ~/.local/bin) export PATH={{ .chezmoi.homeDir }}/.bin:{{ .chezmoi.homeDir }}/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin +{{- end }} # default directories export XDG_CONFIG_HOME={{ .paths.config }}