Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug#416441: Patch
- X-seq: zsh-workers 23255
- From: Clint Adams <clint@xxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: Bug#416441: Patch
- Date: Sat, 31 Mar 2007 15:01:36 -0400
- In-reply-to: <070331113051.ZM6989@xxxxxxxxxxxxxxxxxxxxxx>
- Mail-followup-to: zsh-workers@xxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <200703311841.27521.debian@xxxxxxxxxxxxx> <20070331170150.GA7626@xxxxxxxxxxx> <070331113051.ZM6989@xxxxxxxxxxxxxxxxxxxxxx>
> What's up with the double parens?
That's a good question too.
Index: Completion/Unix/Command/_module
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_module,v
retrieving revision 1.4
diff -u -r1.4 _module
--- Completion/Unix/Command/_module 31 Mar 2007 17:05:28 -0000 1.4
+++ Completion/Unix/Command/_module 31 Mar 2007 19:00:55 -0000
@@ -83,7 +83,7 @@
# Fills the available modules cache
_module_available_modules()
{
- if (( [[ -n $MODULEPATH ]] && [[ ${+_available_modules} -eq 0 ]] ));
+ if [[ -n $MODULEPATH ]] && [[ ${+_available_modules} -eq 0 ]]
then
_available_modules=($(find ${(e)=MODULEPATH//:/ } -xtype f -print 2>/dev/null | grep -v \.version | sed -e 's,\('${${(e)=MODULEPATH//:/\/\\\|}%\\\|}'\),,g' -e 's,^/*,,g'))
fi
Messages sorted by:
Reverse Date,
Date,
Thread,
Author