Skip to content

Commit

Permalink
Update .config/zsh/.zshenv
Browse files Browse the repository at this point in the history
  • Loading branch information
cpritchett committed Oct 2, 2023
1 parent 268cd33 commit fdc939f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions dot_config/zsh/dot_zshenv.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,11 @@

export XDG_CACHE_HOME=$HOME/.cache

source $HOME/.nix-profile/etc/profile.d/nix.sh

{{ if eq .chezmoi.os "linux" -}}
[[ -f $HOME/.nix-profile/etc/profile.d/nix.sh ]]
source $HOME/.nix-profile/etc/profile.d/nix.sh
fi
{{ end -}}

{{ if (and (eq .chezmoi.os "darwin") (eq .chezmoi.arch "amd64")) -}}
export HOMEBREW_PREFIX=/usr/local
Expand Down

0 comments on commit fdc939f

Please sign in to comment.