ENH don't include PATH if on nix

This commit is contained in:
Nathan Dwarshuis 2023-06-03 20:37:25 -04:00
parent 22730a9bd0
commit b9d41b1567
1 changed files with 2 additions and 0 deletions

View File

@ -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 }}