/etc/profile
Achim Gratz
Stromeko@nexgo.de
Sat Aug 25 15:45:00 GMT 2012
David Sastre Medina writes:
> I'm having this on github now for easier handling.
> Check https://github.com/dsastrem/base-files.git
I've checked the objections raised in this thread and also an older
thread concerning the LC_ALL handling w.r.t. /etc/profile.d and handling
of PS1. I think these are all valid, patches to do implement them are
attached. Also, posh didn't run the scripts in /etc/profile.d at all,
which I think is an error even given the limited focus of it. Also, zsh
runs in sh compatibility mode when it sources /etc/profile, so zsh
extensions shouldn't be used. I've kept sourcing *.zsh for now since
the only script that comes with the distribution does not use zsh
extensions, but I think it would be cleaner if this wasn't done. Zsh
might also run in ksh compatibility mode, but I don't know how to check
for that and if it's worth the trouble.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Protect-ORIGINAL_PATH-and-control-behaviour-by-CYGWI.patch
Type: text/x-patch
Size: 1344 bytes
Desc: protect ORIGINAL_PATH
URL: <http://cygwin.com/pipermail/cygwin/attachments/20120825/f9be1da7/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Do-not-set-LC_ALL-unconditionally.patch
Type: text/x-patch
Size: 1168 bytes
Desc: Do not set LC_ALL unconditionally
URL: <http://cygwin.com/pipermail/cygwin/attachments/20120825/f9be1da7/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Do-not-set-PS1-for-non-interactive-shells.patch
Type: text/x-patch
Size: 1802 bytes
Desc: Do not set PS1 for non-interactive shells
URL: <http://cygwin.com/pipermail/cygwin/attachments/20120825/f9be1da7/attachment-0002.bin>
-------------- next part --------------
Regards,
Achim.
--
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
Factory and User Sound Singles for Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds
-------------- next part --------------
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list