Fixed SHELL env bug, thanks snyh.