On Mon, Mar 11, 2002 at 05:04:44PM -0800, Ben Reser wrote: > Well there is already a test in there for $SHLVL however, $SHLVL has > nothing to do with login shells. The shell does however set a special > variable $loginsh when it is a login shell. Testing this will fix the > problem. > > I've attached a patch to /etc/bashrc that fixes the problem.
Fudge bash doesn't set $loginsh I'll come up with an alternative fix in a sec... -- Ben Reser <[EMAIL PROTECTED]> http://ben.reser.org What difference does it make to the dead, the orphans, and the homeless, whether the mad destruction is wrought under the name of totalitarianism or the holy name of liberty and democracy? - Ghandi
