From 9efbffde57ec0a77e3672f7da340f802bc4e80a7 Mon Sep 17 00:00:00 2001 From: Clint Adams Date: Sat, 31 Mar 2007 17:05:27 +0000 Subject: 23253: Erik Johansson: remove double quotes causing zcompile to choke. --- Completion/Unix/Command/_module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Completion') diff --git a/Completion/Unix/Command/_module b/Completion/Unix/Command/_module index 075e1c340..06db1550b 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 -- cgit 1.4.1