From cbad3d16fb358fb6042a0e91a21b15eeb90bb95c Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Wed, 31 Aug 2016 17:49:42 +1200 Subject: 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. --- yash/yash_profile | 2 ++ yash/yashrc | 3 +++ 2 files changed, 5 insertions(+) create mode 100644 yash/yash_profile create mode 100644 yash/yashrc (limited to 'yash') 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" -- cgit v1.2.3