|
| 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
| [Prev in Thread] | Current Thread | [Next in Thread] |