aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathias Bynens <mathias@qiwi.be>2012-07-26 15:34:14 +0200
committerMathias Bynens <mathias@qiwi.be>2012-07-26 15:34:14 +0200
commit8e759bb0fc18486dce7bdf60abd59f4f55085702 (patch)
tree593fe0d7a90beed256ffb8ebbc75504202772fbe
parentff3392333d3656d7a35dc6d898153671963db48b (diff)
downloaddotfiles-8e759bb0fc18486dce7bdf60abd59f4f55085702.tar.gz
dotfiles-8e759bb0fc18486dce7bdf60abd59f4f55085702.tar.bz2
dotfiles-8e759bb0fc18486dce7bdf60abd59f4f55085702.zip
.bash_profile: Source `~/.extra` before the other dotfiles
This is needed in case `$PATH` is expanded in `~/.extra`.
-rw-r--r--.bash_profile4
1 files changed, 2 insertions, 2 deletions
diff --git a/.bash_profile b/.bash_profile
index 9b1ac9b..6880737 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