summaryrefslogtreecommitdiff
path: root/zsh/.zshenv
diff options
context:
space:
mode:
Diffstat (limited to 'zsh/.zshenv')
-rw-r--r--zsh/.zshenv8
1 files changed, 5 insertions, 3 deletions
diff --git a/zsh/.zshenv b/zsh/.zshenv
index 20066b6..d29e014 100644
--- a/zsh/.zshenv
+++ b/zsh/.zshenv
@@ -2,8 +2,11 @@ export EDITOR=nvim
export VISUAL=nvim
# Export PATH without repetitions
-export -U PATH="/usr/local/sbin:/usr/local/bin:/usr/bin:$HOME/.local/bin:$HOME/.gem/ruby/2.5.0/bin${PATH:+:}$PATH"
-export PATH="/home/urbain/.config/guix/current/bin${PATH:+:}$PATH"
+export -U PATH="/home/urbain/.config/guix/current/bin${PATH:+:}$PATH"
+export -U PATH=$(echo "$HOME/.gem/ruby/"*"/bin")"${PATH:+:}$PATH"
+export -U PATH="/usr/local/sbin${PATH:+:}$PATH"
+export -U PATH="/usr/bin${PATH:+:}$PATH"
+export -U PATH="/usr/local/sbin:/usr/local/bin${PATH:+:}$PATH"
# Python startup file
[[ -f "$HOME/.pythonrc" ]] && export PYTHONSTARTUP="$HOME/.pythonrc"
@@ -11,4 +14,3 @@ export PATH="/home/urbain/.config/guix/current/bin${PATH:+:}$PATH"
# Source guix profile
guix_profile=$HOME/.guix-env
[[ -f $guix_profile ]] && . $guix_profile
-