On Saturday 31 March 2007 19:01, Clint Adams wrote: > On Sat, Mar 31, 2007 at 06:41:27PM +0200, Erik Johansson wrote: > > The attached patch fixes the problem for me.
On second thought, I think this is a better solution: if ( [[ -n "$MODULEPATH" ]] && [[ ${+_available_modules} -eq 0 ]] ); Since, according to the manual, `((...))' is equivalent to `let "..."', and I don't think that's what's intended here. > Why would this break zcompile? I gives an error when run in zsh, so IMHO it should break zcompile as well. zsh -c 'if (( [[ -n "$foo" ]] )); then echo "foo"; fi' zsh: unmatched " // Erik -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? Erik Johansson http://ejohansson.se -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]