summaryrefslogtreecommitdiff
path: root/zsh/.zsh/.zshenv
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2018-01-10 17:31:15 +0100
committerUrbain Vaes <urbain@vaes.uk>2018-01-10 18:09:54 +0100
commit773025b77b770286652c8c2929d445b231855363 (patch)
treebad2b729654e0f216d5f52fab990c077a6c0e0be /zsh/.zsh/.zshenv
parentb63d5389cfca88ac1da44ebcff3139f420dd72f3 (diff)
Sort references by time
Diffstat (limited to 'zsh/.zsh/.zshenv')
-rw-r--r--zsh/.zsh/.zshenv11
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"