Relocated doom bin loading to path.
This commit is contained in:
parent
e76bc30250
commit
ca4effa77d
|
@ -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"
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user