aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bash/bashrc2
-rw-r--r--sh/profile2
2 files changed, 2 insertions, 2 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
diff --git a/sh/profile b/sh/profile
index db003ebe..33c5cc11 100644
--- a/sh/profile
+++ b/sh/profile
@@ -6,7 +6,7 @@ export PATH
# Load all supplementary scripts in ~/.profile.d
if [ -d "$HOME"/.profile.d ]; then
- for config in "$HOME"/.profile.d/*; do
+ for config in "$HOME"/.profile.d/*.sh; do
[ -r "$config" ] && . "$config"
done
fi