aboutsummaryrefslogtreecommitdiff
path: root/yash/yashrc
diff options
context:
space:
mode:
Diffstat (limited to 'yash/yashrc')
-rw-r--r--yash/yashrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/yash/yashrc b/yash/yashrc
index eef82e54..a731c80b 100644
--- a/yash/yashrc
+++ b/yash/yashrc
@@ -1,3 +1,9 @@
# Load POSIX interactive shell startup files, because Yash won't do it if not
# invoked as sh(1)
[ -e "$ENV" ] && . "$ENV"
+
+# Load Bash-specific startup files
+for sh in "$HOME"/.yashrc.d/*.yash ; do
+ [ -e "$sh" ] && . "$sh"
+done
+unset -v sh