From c9c4b4addda1fe2c031732261f859bb676d934d8 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 16 Jan 2017 22:30:02 -0500 Subject: [PATCH] shell/env.sh: move PATH init close to populator --- shell/env.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/shell/env.sh b/shell/env.sh index c673031b..402ffd20 100644 --- a/shell/env.sh +++ b/shell/env.sh @@ -1,7 +1,5 @@ # Loaded at the end of the initialization process -PATH="$HOME/.bin:$DOTFILES/bin:$PATH" - # export EDITOR=$(is-callable nvim && echo 'nvim' || echo 'vim') export VISUAL=$EDITOR @@ -9,9 +7,9 @@ export VISUAL=$EDITOR # export GPG_TTY=$(tty) +PATH="$HOME/.bin:$DOTFILES/bin:$PATH" local bins=( "$ENABLED_DIR"/*/bin ) for bin in "${bins[@]}"; do [[ -e "$bin" ]] && PATH="$bin:$PATH" done - export PATH