Am 13.03.2004 um 10:31 schrieb James Devenish:
Hi,
In message <[EMAIL PROTECTED]> on Sat, Mar 13, 2004 at 01:43:49AM -0500, Gary Kerbaugh wrote:The latest version of zsh breaks the append_path() and prepend_path() functions in the /sw/bin/init.sh script. They still add elements to the path but they always do it, even if there is duplication. This means that the elaborate "if" statements always evaluate to true.
I've been hoping to submit patches and packages that I've accumulated, but have not yet found the time to revise them for latest versions of Fink. However, this post caught my eye, so here is one contribution...
Since I use zsh as my default shell, I don't even bother with /sw/bin/init.sh. Instead, I use a version that I wrote specifically for zsh. I have attached a script that zsh users can use as a drop-in replacement for /sw/bin/init.sh. It does vary slightly from Fink's init.sh in its handling of the default MANPATH. Also, you will need to replace instances of /sw with BASEPATH.
I would greatly prefer if we do *not* add an init.zsh unless we absolutely must. It would simply complicate setup for the novice user (and complicate the docs, too). Unless there is a very convincing justification, I am against this. Gary's patch seems to imply that using init.sh is very much possible with ZSH, with some tweaking, after all.
Cheers,
Max
------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel