aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathias Bynens <mathias@qiwi.be>2012-01-26 21:17:16 +0100
committerMathias Bynens <mathias@qiwi.be>2012-01-26 21:17:16 +0100
commit938aee5633a4b46316ba4957bab36b796c133916 (patch)
tree0290df97e804db691d7216f94e10ddeeda40226e
parentedee13b3d1ced0aededa00f6520a8e3486cd3d88 (diff)
downloaddotfiles-938aee5633a4b46316ba4957bab36b796c133916.tar.gz
dotfiles-938aee5633a4b46316ba4957bab36b796c133916.tar.bz2
dotfiles-938aee5633a4b46316ba4957bab36b796c133916.zip
.bash_profile: Be sure to source `.bash_prompt` first, in case it sets the PATH and subsequent dotfiles rely on it
-rw-r--r--.bash_profile4
1 files changed, 2 insertions, 2 deletions
diff --git a/.bash_profile b/.bash_profile
index 7b15a81..48739fe 100644
--- a/.bash_profile
+++ b/.bash_profile
@@ -1,6 +1,6 @@
-# Load ~/.bash_prompt, ~/.exports, ~/.aliases, ~/.functions and ~/.extra
+# Load ~/.extra, ~/.bash_prompt, ~/.exports, ~/.aliases and ~/.functions
# ~/.extra can be used for settings you don’t want to commit
-for file in ~/.{bash_prompt,exports,aliases,functions,extra}; do
+for file in ~/.{extra,bash_prompt,exports,aliases,functions}; do
[ -r "$file" ] && source "$file"
done
unset file