summaryrefslogtreecommitdiff
path: root/zsh/.zshenv
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2018-04-08 11:25:59 +0100
committerUrbain Vaes <urbain@vaes.uk>2018-04-08 14:48:55 +0100
commit0e325e0ac2110e9832aae051bb21f05dc6f8ccdc (patch)
tree031dce7e35a9839c787ec8e5975454ec07c4635e /zsh/.zshenv
parent3ee22303b7561b0d784a5a004e656892579869f3 (diff)
Remove oh-my-zsh
Diffstat (limited to 'zsh/.zshenv')
-rw-r--r--[l---------]zsh/.zshenv13
1 files changed, 12 insertions, 1 deletions
diff --git a/zsh/.zshenv b/zsh/.zshenv
index 135f05c..aea57fc 120000..100644
--- a/zsh/.zshenv
+++ b/zsh/.zshenv
@@ -1 +1,12 @@
-.zsh/.zshenv \ No newline at end of file
+export EDITOR=nvim
+export VISUAL=nvim
+
+# 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 PATH 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"