aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc
diff options
context:
space:
mode:
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 f9b0e38d..1fc1df2d 100644
--- a/bash/bashrc
+++ b/bash/bashrc
@@ -67,7 +67,7 @@ shopt -s progcomp 2>/dev/null
# Load any supplementary scripts
if [[ -d $HOME/.bashrc.d ]]; then
for config in "$HOME"/.bashrc.d/*; do
- source "$config"
+ [[ -f $config ]] && source "$config"
done
fi
unset config