summaryrefslogtreecommitdiff
path: root/zsh/.zshenv
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2018-06-08 17:00:17 +0100
committerUrbain Vaes <urbain@vaes.uk>2018-06-08 17:00:17 +0100
commit7547ef3e1521e1afb2406f18728312a44684d27e (patch)
treed1904dd318b15686a6b9674499382bfabd257fc0 /zsh/.zshenv
parent368dfd19f18bb82a9c67abeb454d45ea5384febc (diff)
Add vim-apathy
Diffstat (limited to 'zsh/.zshenv')
-rw-r--r--zsh/.zshenv9
1 files changed, 4 insertions, 5 deletions
diff --git a/zsh/.zshenv b/zsh/.zshenv
index aea57fc..d93fc42 100644
--- a/zsh/.zshenv
+++ b/zsh/.zshenv
@@ -1,12 +1,11 @@
export EDITOR=nvim
export VISUAL=nvim
-# Source guix & nix profiles
+# 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"
+
+# Source guix profile
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"