From: Eric Pruitt Date: Wed, 29 Oct 2014 00:51:42 +0000 (-0700) Subject: Check for presence of SHELL environment variable X-Git-Url: https://jasonwoof.com/gitweb/?p=st.git;a=commitdiff_plain;h=bafbba56cd5735c680676db2adf6f614ba61356f;hp=bafbba56cd5735c680676db2adf6f614ba61356f Check for presence of SHELL environment variable - POSIX states the SHELL environment variable "... shall represent a pathname of the user's preferred command language interpreter." As such, st should check for its presence when deciding what shell to use; just as HOME can be defined to override one's passwd-defined home directory, a user should also be able to override their passwd-defined shell using the SHELL environment variable. ---