Mail Archives: cygwin/2002/05/30/16:52:47
On Thu, 30 May 2002, Michael Schaap wrote:
> Hi Peter,
>
> Thanks a lot for providing this! I had been using a locally compiled zsh
> for a while, and was wondering whether someone (me?) should package it for
> Cygwin.
Not a problem. I've been using cygwin and my own build of zsh for
development at work and home for some time and I felt it was only right
to contribute to it.
> One suggestion. On http://www.fruitbat.org/Cygwin/zsh/zsh.notes you
> suggest to do:
>
> First, make a link from /etc/zprofile to profile:
> $ cd /etc ; ln -s profile zprofile
>
> Next, create a profile.d file to set zsh things if needed:
> $ cd /etc/profile.d
> $ vi zsh.sh
> -----------------------------------------------------------------------------
> if [ "X$ZSH_NAME" != "X" ]; then
> export SHELL=/bin/zsh
> fi
> -----------------------------------------------------------------------------
>
> Wouldn't it be a good idea to do this within the zsh package? There
> shouldn't be a reason for someone not to want this, right?
> (The last note, changing cygwin.bat, is obviously not something that should
> be done automatically. :-) )
I thought about this but at the time I didn't know if I should craft one
myself or have people to create their own instead. Since zsh groks
bash's /etc/profile, I figured this was the easiest approach. I, myself,
have a heavily modified /etc/profile, and wouldn't wish it on someone
else :) Perhaps for the next release I'll provide a real /etc/zprofile.
> - Michael
--
Peter A. Castro <doctor AT fruitbat DOT org> or <Peter DOT Castro AT oracle DOT com>
"Cats are just autistic Dogs" -- Dr. Tony Attwood
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -