diff options
Diffstat (limited to 'zsh')
-rw-r--r-- | zsh/.zshenv | 9 |
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" |