aboutsummaryrefslogtreecommitdiff
path: root/yash/yashrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-08-31 17:49:42 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-08-31 17:49:42 +1200
commitcbad3d16fb358fb6042a0e91a21b15eeb90bb95c (patch)
tree3db6887e21a9dba69776d9e6b483fc57cd07e9d9 /yash/yashrc
parentMerge branch 'openbsd' (diff)
downloaddotfiles-cbad3d16fb358fb6042a0e91a21b15eeb90bb95c.tar.gz
dotfiles-cbad3d16fb358fb6042a0e91a21b15eeb90bb95c.zip
Add very basic Yash support
I know almost nothing about Yash yet, but reading the manual page on its startup behaviour implies a little coaxing is necessary to make it play nicely with my file layout.
Diffstat (limited to 'yash/yashrc')
-rw-r--r--yash/yashrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/yash/yashrc b/yash/yashrc
new file mode 100644
index 00000000..eef82e54
--- /dev/null
+++ b/yash/yashrc
@@ -0,0 +1,3 @@
+# Load POSIX interactive shell startup files, because Yash won't do it if not
+# invoked as sh(1)
+[ -e "$ENV" ] && . "$ENV"