mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-26 18:01:03 +02:00
23253: Erik Johansson: remove double quotes causing zcompile to choke.
This commit is contained in:
parent
1943715247
commit
9efbffde57
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2007-03-31 Clint Adams <clint@zsh.org>
|
||||||
|
|
||||||
|
* 23253: Erik Johansson: Completion/Unix/Command/_module:
|
||||||
|
remove double quotes causing zcompile to choke.
|
||||||
|
|
||||||
2007-03-30 Clint Adams <clint@zsh.org>
|
2007-03-30 Clint Adams <clint@zsh.org>
|
||||||
|
|
||||||
* 23252: Completion/Debian/Command/_aptitude: complete for
|
* 23252: Completion/Debian/Command/_aptitude: complete for
|
||||||
|
|
|
@ -83,7 +83,7 @@ _module()
|
||||||
# Fills the available modules cache
|
# Fills the available modules cache
|
||||||
_module_available_modules()
|
_module_available_modules()
|
||||||
{
|
{
|
||||||
if (( [[ -n "$MODULEPATH" ]] && [[ ${+_available_modules} -eq 0 ]] ));
|
if (( [[ -n $MODULEPATH ]] && [[ ${+_available_modules} -eq 0 ]] ));
|
||||||
then
|
then
|
||||||
_available_modules=($(find ${(e)=MODULEPATH//:/ } -xtype f -print 2>/dev/null | grep -v \.version | sed -e 's,\('${${(e)=MODULEPATH//:/\/\\\|}%\\\|}'\),,g' -e 's,^/*,,g'))
|
_available_modules=($(find ${(e)=MODULEPATH//:/ } -xtype f -print 2>/dev/null | grep -v \.version | sed -e 's,\('${${(e)=MODULEPATH//:/\/\\\|}%\\\|}'\),,g' -e 's,^/*,,g'))
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue