aboutsummaryrefslogtreecommitdiff
path: root/yash
diff options
context:
space:
mode:
Diffstat (limited to 'yash')
-rw-r--r--yash/yash_profile2
-rw-r--r--yash/yashrc3
2 files changed, 5 insertions, 0 deletions
diff --git a/yash/yash_profile b/yash/yash_profile
new file mode 100644
index 00000000..d37f35a1
--- /dev/null
+++ b/yash/yash_profile
@@ -0,0 +1,2 @@
+# Load ~/.profile, because Yash won't by itself, no matter how you invoke it
+[ -e "$HOME"/.profile ] && . "$HOME"/.profile
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"