aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2014-02-10 10:55:20 +1300
committerTom Ryder <tom@sanctum.geek.nz>2014-02-10 10:55:20 +1300
commit259ce7813e12af1218a12b8b3c16ccef03e85108 (patch)
treea9b6ad8ea1e2c9153baa2841cfd5f7f67e23ddae /bash/bashrc
parentUse -r test consistently rather than -f (diff)
downloaddotfiles-259ce7813e12af1218a12b8b3c16ccef03e85108.tar.gz
dotfiles-259ce7813e12af1218a12b8b3c16ccef03e85108.zip
Explicitly check extension of .d files
Diffstat (limited to 'bash/bashrc')
-rw-r--r--bash/bashrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/bashrc b/bash/bashrc
index 8c74c136..733741a1 100644
--- a/bash/bashrc
+++ b/bash/bashrc
@@ -79,7 +79,7 @@ fi
# Load any supplementary scripts
if [[ -d $HOME/.bashrc.d ]]; then
- for config in "$HOME"/.bashrc.d/*; do
+ for config in "$HOME"/.bashrc.d/*.bash; do
[[ -r $config ]] && source "$config"
done
fi