diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2007-10-02 09:08:26 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2007-10-02 09:08:26 +0000 |
commit | 0af9ef0d58a6bd495e5f0f4d7145d8fcb6abe9ea (patch) | |
tree | 53a4c07f5f3dc97e995226cf3a01781798253e7b /Completion | |
parent | 5383efac8c558daa538e5a14f2f16870471e8703 (diff) | |
download | zsh-0af9ef0d58a6bd495e5f0f4d7145d8fcb6abe9ea.tar.gz zsh-0af9ef0d58a6bd495e5f0f4d7145d8fcb6abe9ea.tar.xz zsh-0af9ef0d58a6bd495e5f0f4d7145d8fcb6abe9ea.zip |
23883: improve precmd documentation
Daniel Qarras: users/11915: .version quoting in _module completion
Diffstat (limited to 'Completion')
-rw-r--r-- | Completion/Unix/Command/_module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_module b/Completion/Unix/Command/_module index 6e00ccf05..e220a94e8 100644 --- a/Completion/Unix/Command/_module +++ b/Completion/Unix/Command/_module @@ -85,7 +85,7 @@ _module_available_modules() { 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')) + _available_modules=($(find ${(e)=MODULEPATH//:/ } -xtype f -print 2>/dev/null | grep -v \\.version | sed -e 's,\('${${(e)=MODULEPATH//:/\/\\\|}%\\\|}'\),,g' -e 's,^/*,,g')) fi } |