bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PATH value doesn't get updated


From: Bernd Eggink
Subject: Re: PATH value doesn't get updated
Date: Sun, 18 May 2008 17:50:13 +0200
User-agent: Thunderbird 2.0.0.14 (X11/20080421)

Peter Volkov schrieb:


Better way to check if shell is login is:

 $ shopt | grep login_shell
login_shell     on

You don't even have to call an external program:

[[ $(shopt -p login_shell) == *-s* ]]

Regards,
Bernd

--
Bernd Eggink
monoped@sudrala.de
http://sudrala.de




reply via email to

[Prev in Thread] Current Thread [Next in Thread]