about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2007-03-31 19:05:28 +0000
committerClint Adams <clint@users.sourceforge.net>2007-03-31 19:05:28 +0000
commit85573e8ad115f3b66c052ffa45d7c41ee6f24eed (patch)
tree9e720c48e39783b4611f7de0d43bacd95fb9a836 /Completion
parent9efbffde57ec0a77e3672f7da340f802bc4e80a7 (diff)
downloadzsh-85573e8ad115f3b66c052ffa45d7c41ee6f24eed.tar.gz
zsh-85573e8ad115f3b66c052ffa45d7c41ee6f24eed.tar.xz
zsh-85573e8ad115f3b66c052ffa45d7c41ee6f24eed.zip
23255: fix 23253 better.
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Unix/Command/_module2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_module b/Completion/Unix/Command/_module
index 06db1550b..6e00ccf05 100644
--- a/Completion/Unix/Command/_module
+++ b/Completion/Unix/Command/_module
@@ -83,7 +83,7 @@ _module()
 # 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