From ab64db65806920e82dbab5f19528ebe071bafaef Mon Sep 17 00:00:00 2001 From: Mathias Bynens Date: Mon, 6 Aug 2012 22:51:22 +0200 Subject: .bash_profile: Source `~/.path` before and `~/.extra` after all the other dotfiles --- .bash_profile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to '.bash_profile') diff --git a/.bash_profile b/.bash_profile index 6880737..cff9c92 100644 --- a/.bash_profile +++ b/.bash_profile @@ -1,6 +1,7 @@ -# Load ~/.extra, ~/.bash_prompt, ~/.exports, ~/.aliases, and ~/.functions -# ~/.extra can be used for settings you don’t want to commit -for file in ~/.{extra,bash_prompt,exports,aliases,functions}; do +# Load the shell dotfiles, and then some: +# * ~/.path can be used to set or extend `$PATH`. +# * ~/.extra can be used for settings you don’t want to commit. +for file in ~/.{path,extra,bash_prompt,exports,aliases,functions,extra}; do [ -r "$file" ] && source "$file" done unset file -- cgit v1.2.3