On 1/5/25 5:13 AM, Oğuz wrote:
Maybe. I'm not sure if propagating shell options to child shells was the intended primary use.
It was a long time ago (1995), but yes, that was one of the primary use cases.
With ENV/BASH_ENV you can already do that and more, I don't see the point in adding an environment variable that does the same thing.
You can exactly duplicate the current set of options in a child shell without having to mess around with startup files. I agree that cygwin probably should have used BASH_ENV for their intended use. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU c...@case.edu http://tiswww.cwru.edu/~chet/
OpenPGP_signature.asc
Description: OpenPGP digital signature