From 04b7020be2ce9ad582726737cfb1903340119a40 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 21 Jul 2014 03:06:34 -0400 Subject: [PATCH] Ensure PATH is loaded first in non-interactive shells --- bashrc | 4 ++-- zshenv | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bashrc b/bashrc index 1e172dc6..5ebbfb65 100644 --- a/bashrc +++ b/bashrc @@ -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" diff --git a/zshenv b/zshenv index 8b05d502..209c4dc4 100644 --- a/zshenv +++ b/zshenv @@ -1,5 +1,5 @@ +source ~/.zsh/paths if [ -z ${ZSH_INIT+x} ]; then source ~/.zsh/functions source ~/.zsh/aliases - source ~/.zsh/paths fi