diff options
author | Mathias Bynens <mathias@qiwi.be> | 2012-08-06 22:51:22 +0200 |
---|---|---|
committer | Mathias Bynens <mathias@qiwi.be> | 2012-08-06 22:51:22 +0200 |
commit | ab64db65806920e82dbab5f19528ebe071bafaef (patch) | |
tree | 22c82ae8e5ca4782dc3ccaab42441fcba985687d /.bash_profile | |
parent | 559ccb5437dfb231fea5496e2d24bb44d1e6247e (diff) | |
download | dotfiles-ab64db65806920e82dbab5f19528ebe071bafaef.tar.gz dotfiles-ab64db65806920e82dbab5f19528ebe071bafaef.tar.bz2 dotfiles-ab64db65806920e82dbab5f19528ebe071bafaef.zip |
.bash_profile: Source `~/.path` before and `~/.extra` after all the other dotfiles
Diffstat (limited to '.bash_profile')
-rw-r--r-- | .bash_profile | 7 |
1 files changed, 4 insertions, 3 deletions
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 |