ENH don't include PATH if on nix
This commit is contained in:
parent
22730a9bd0
commit
b9d41b1567
|
@ -1,5 +1,7 @@
|
||||||
|
{{ if ne .chezmoi.osRelease.id "nixos" -}}
|
||||||
# path (include ~/.bin and ~/.local/bin)
|
# path (include ~/.bin and ~/.local/bin)
|
||||||
export PATH={{ .chezmoi.homeDir }}/.bin:{{ .chezmoi.homeDir }}/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin
|
export PATH={{ .chezmoi.homeDir }}/.bin:{{ .chezmoi.homeDir }}/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
# default directories
|
# default directories
|
||||||
export XDG_CONFIG_HOME={{ .paths.config }}
|
export XDG_CONFIG_HOME={{ .paths.config }}
|
||||||
|
|
Loading…
Reference in New Issue