aboutsummaryrefslogtreecommitdiff
path: root/yash/yashrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-12-19 14:49:52 +1300
committerTom Ryder <tom@sanctum.geek.nz>2016-12-19 14:49:52 +1300
commite1cf0e5fd0aea07dde7e37167ad327f92b02a37f (patch)
tree8cb68cdc79d7a8add83b9d3040d6a415b5d689e4 /yash/yashrc
parentFix extension of zsh subfile (diff)
downloaddotfiles-e1cf0e5fd0aea07dde7e37167ad327f92b02a37f.tar.gz
dotfiles-e1cf0e5fd0aea07dde7e37167ad327f92b02a37f.zip
Add yashrc.d and ver() func
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