about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2001-05-31 08:18:36 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2001-05-31 08:18:36 +0000
commitae5e34db253ffd89369dd67835999c23dd9e62c2 (patch)
treea5834f798d865baef67449b2e8d0fba3fac03adf
parent5d4492c974d62d85ef73a40740fdb986f7551c41 (diff)
downloadzsh-ae5e34db253ffd89369dd67835999c23dd9e62c2.tar.gz
zsh-ae5e34db253ffd89369dd67835999c23dd9e62c2.tar.xz
zsh-ae5e34db253ffd89369dd67835999c23dd9e62c2.zip
(14602)
-rw-r--r--ChangeLog4
-rw-r--r--Completion/Base/Utility/_values1
-rw-r--r--Functions/Misc/nslookup4
3 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 1fa378176..855a09554 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
 
diff --git a/Completion/Base/Utility/_values b/Completion/Base/Utility/_values
index e074e1393..bbf0b36ae 100644
--- a/Completion/Base/Utility/_values
+++ b/Completion/Base/Utility/_values
@@ -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" )
 
diff --git a/Functions/Misc/nslookup b/Functions/Misc/nslookup
index 5b49ae9d2..150bd035c 100644
--- a/Functions/Misc/nslookup
+++ b/Functions/Misc/nslookup
@@ -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