mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-17 22:31:12 +01:00
(14602)
This commit is contained in:
parent
5d4492c974
commit
ae5e34db25
3 changed files with 7 additions and 2 deletions
|
@ -1,5 +1,9 @@
|
|||
2001-05-31 Sven Wischnowsky <wischnow@zsh.org>
|
||||
|
||||
* 14602: Completion/Base/Utility/_values,
|
||||
Functions/Misc/nslookup: better prompt matching in nslookup;
|
||||
fix separator handling in _multi_parts
|
||||
|
||||
* 14599: Completion/Base/Utility/_multi_parts: always use
|
||||
supplied matchers
|
||||
|
||||
|
|
|
@ -84,6 +84,7 @@ if compvalues -i "$@"; then
|
|||
# We add the separator character as a autoremovable suffix unless
|
||||
# we have only one possible value left.
|
||||
|
||||
sep=()
|
||||
[[ ${#snames}+${#names}+${#onames} -ne 1 ]] && compvalues -s sep &&
|
||||
expl=( "-qS$sep" "$expl[@]" ) sep=( "-qS$sep" )
|
||||
|
||||
|
|
|
@ -36,8 +36,8 @@ while line=''; vared -he "$pmpt[@]" line; do
|
|||
|
||||
zpty -w nslookup "$line"
|
||||
|
||||
zpty -r nslookup line '*
|
||||
> '
|
||||
zpty -r nslookup line '(|*
|
||||
)> '
|
||||
if [[ -n "$pager" && ${#${(f)line}} -gt LINES ]]; then
|
||||
print -nr "$line" | eval "$pager"
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue