tcsh and chere-0.3-1
Andy Grimm
snarf@dimensional.com
Thu Oct 14 02:06:00 GMT 2004
> Actually that appears to be another bug in the script: chere should
> invoke ash as "ash -" to start an ash login shell (I haven't tested
> this though).
Oops I made an error here. There I go skimming man pages again :) Ash
will consider a process named "-ash" (argument zero) to be a login shell.
This is hard to do unless you use something like bash's "exec -l" option
or maybe play with hard links which is ugly. Therefore for ash you might
want to do the same thing I proposed for tcsh, reading in /etc/profile
then ~/.profile to set up the environment inherited by the exec'd shell.
-Andy
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list