mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-11 20:31:11 +01:00
Andrej: fix for ${..//..} with % in search string (11660)
This commit is contained in:
parent
fe8490dcf0
commit
4629133ad3
2 changed files with 4 additions and 1 deletions
|
@ -1,5 +1,8 @@
|
|||
2000-05-31 Sven Wischnowsky <wischnow@zsh.org>
|
||||
|
||||
* Andrej: 11660: Completion/User/_man: fix for ${..//..} with % in
|
||||
search string
|
||||
|
||||
* 11686: Completion/Core/compdump, Completion/Core/compinit: allow
|
||||
using menu-select for compdef -k (i.e.: autoload zsh/complist in
|
||||
such cases)
|
||||
|
|
|
@ -27,7 +27,7 @@ fi
|
|||
# `sman' is the SGML manual directory for Solaris 7.
|
||||
# 1M is system administrator commands on SVR4
|
||||
|
||||
mrd=(${^manpath/\\%L/${LANG:-En_US.ASCII}}/mandb(N))
|
||||
mrd=(${^manpath/\%L/${LANG:-En_US.ASCII}}/mandb(N))
|
||||
if [[ $words[2] = (<->*|1M|l|n) ]]; then
|
||||
rep=(
|
||||
$manpath/(sman|man|cat)${words[2]}/${~approx}$PREFIX${~star}$SUFFIX.<->*(N:t) )
|
||||
|
|
Loading…
Reference in a new issue