Ensure PATH is loaded first in non-interactive shells

This commit is contained in:
Henrik Lissner 2014-07-21 03:06:34 -04:00
parent 9a7a87f74f
commit 04b7020be2
2 changed files with 3 additions and 3 deletions

4
bashrc
View file

@ -1,7 +1,7 @@
# Source component rcfiles
source ~/.zsh/functions
source ~/.zsh/aliases
source ~/.zsh/paths
# source ~/.zsh/functions
# source ~/.zsh/aliases
# Load RVM into a shell session *as a function*
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"

2
zshenv
View file

@ -1,5 +1,5 @@
source ~/.zsh/paths
if [ -z ${ZSH_INIT+x} ]; then
source ~/.zsh/functions
source ~/.zsh/aliases
source ~/.zsh/paths
fi