From db630d6c575f081291fed42431f97a19ef8e7a8c Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Mon, 30 Sep 2019 10:40:19 +0100 Subject: Add correct ~/.gem to PATH --- zsh/.zshenv | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'zsh/.zshenv') 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 - -- cgit v1.2.3