diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-12-18 12:54:48 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-12-18 12:57:39 +1300 |
commit | 09bc29e2dbeadc811491f555e71397dfa0264704 (patch) | |
tree | af5d717ab5b195024b90f42fa83794090be2b78f /sh/profile | |
parent | Change syntax of ksh prompt func declaration (diff) | |
download | dotfiles-09bc29e2dbeadc811491f555e71397dfa0264704.tar.gz dotfiles-09bc29e2dbeadc811491f555e71397dfa0264704.zip |
Change tack; force ENV if the file exists
Diffstat (limited to 'sh/profile')
-rw-r--r-- | sh/profile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |