aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2015-01-29 23:47:36 +1300
committerTom Ryder <tom@sanctum.geek.nz>2015-01-29 23:47:36 +1300
commit322d1a35bb32991993736067c6235ce679b201aa (patch)
tree5ade535fb6020cf4bf6bad1420e38a0199a224b1 /bash/bashrc
parentUse full version of :substitute in vimrc (diff)
downloaddotfiles-322d1a35bb32991993736067c6235ce679b201aa.tar.gz
dotfiles-322d1a35bb32991993736067c6235ce679b201aa.zip
Raise error message if .d sh file can't be read
Diffstat (limited to 'bash/bashrc')
-rw-r--r--bash/bashrc4
1 files changed, 1 insertions, 3 deletions
diff --git a/bash/bashrc b/bash/bashrc
index a56632e7..2ee5f82d 100644
--- a/bash/bashrc
+++ b/bash/bashrc
@@ -72,9 +72,7 @@ fi
# Load any supplementary scripts
if [[ -d $HOME/.bashrc.d ]] ; then
for config in "$HOME"/.bashrc.d/*.bash ; do
- if [[ -r $config ]] ; then
- source "$config"
- fi
+ source "$config"
done
fi
unset -v config