diff options
Diffstat (limited to 'zsh/.zsh/.zshenv')
-rw-r--r-- | zsh/.zsh/.zshenv | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/zsh/.zsh/.zshenv b/zsh/.zsh/.zshenv new file mode 100644 index 0000000..2cd7b6a --- /dev/null +++ b/zsh/.zsh/.zshenv @@ -0,0 +1,11 @@ +export ZDOTDIR=$HOME/.zsh + +# Source guix & nix profiles +guix_profile=$HOME/.guix-env +nix_profile=$HOME/.nix-profile/etc/profile.d/nix.sh + +[[ -f $guix_profile ]] && . $guix_profile +[[ -f $nix_profile ]] && . $nix_profile + +# Export pass without repetitions +export -U PATH="/usr/local/sbin:/usr/local/bin:/usr/bin:$HOME/bin:$HOME/.gem/ruby/2.5.0/bin:/usr/lib/surfraw${PATH:+:}$PATH" |