diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-09 11:08:48 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-09 11:08:48 +1200 |
commit | 8749f07e0eebc96bd2aeffc7d89179961f61f77e (patch) | |
tree | 5ac5319dc9ecef182033a4b82daf812ac1342420 /sh/profile.d | |
parent | Merge branch 'pdksh' (diff) | |
download | dotfiles-8749f07e0eebc96bd2aeffc7d89179961f61f77e.tar.gz dotfiles-8749f07e0eebc96bd2aeffc7d89179961f61f77e.zip |
Set ENV appropriately if using ksh
It may end up being better to have a file "env.sh".
Diffstat (limited to 'sh/profile.d')
-rw-r--r-- | sh/profile.d/ksh.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sh/profile.d/ksh.sh b/sh/profile.d/ksh.sh new file mode 100644 index 00000000..541da0d6 --- /dev/null +++ b/sh/profile.d/ksh.sh @@ -0,0 +1,5 @@ +# If we're running some kind of ksh, export ENV to find ~/.kshrc +if [ -n "$KSH_VERSION" ] ; then + ENV=$HOME/.kshrc + export ENV +fi |