Relocated doom bin loading to path.

This commit is contained in:
James Patrick 2019-08-05 21:16:31 -04:00
parent e76bc30250
commit ca4effa77d
2 changed files with 6 additions and 3 deletions

View File

@ -1,7 +1,6 @@
export GOPATH="$HOME/Code/go"
GOLANG_PATH="/usr/lib/go/bin"
DOOM_BIN="$HOME/.emacs.d/bin"
export PATH="$DOOM_BIN:$GOPATH/bin/:$GOLANG_PATH:$PATH"
export PATH="$GOPATH/bin/:$GOLANG_PATH:$PATH"
export EMACS_FRAMEWORK="doom"

View File

@ -77,8 +77,12 @@ if [ -d $user_script_dir ] ; then
PATH="$user_script_dir:$PATH"
fi
env_loader zshenv
if [ $EMACS_FRAMEWORK = 'doom' ]; then
DOOM_BIN="$HOME/.emacs.d/bin"
export PATH="$DOOM_BIN:$PATH"
fi
# Dedup path.
typeset -gU path