From 09bc29e2dbeadc811491f555e71397dfa0264704 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sun, 18 Dec 2016 12:54:48 +1300 Subject: Change tack; force ENV if the file exists --- sh/profile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sh/profile') diff --git a/sh/profile b/sh/profile index fd87b8fa..5d9c80bf 100644 --- a/sh/profile +++ b/sh/profile @@ -7,8 +7,8 @@ for sh in "$HOME"/.profile.d/*.sh ; do done unset -v sh -# If ENV is still unset, and ~/.shinit exists, use that -if [ -z "$ENV" ] && [ -f "$HOME"/.shinit ] ; then +# If ~/.shinit exists, set ENV to that +if [ -f "$HOME"/.shinit ] ; then ENV=$HOME/.shinit export ENV fi -- cgit v1.2.3