about summary refs log tree commit diff
path: root/Functions/Misc
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>2000-03-10 01:01:03 +0000
committerTanaka Akira <akr@users.sourceforge.net>2000-03-10 01:01:03 +0000
commit52e15cd48d6732c8ddbcb99e20f5aec68f4a8dfc (patch)
treed4b0bde3f89b5c004dcbc5747cdefd2fd75cf1db /Functions/Misc
parentbbd3406523d3748f9c20d7bb4909ea2a70f159a6 (diff)
downloadzsh-52e15cd48d6732c8ddbcb99e20f5aec68f4a8dfc.tar.gz
zsh-52e15cd48d6732c8ddbcb99e20f5aec68f4a8dfc.tar.xz
zsh-52e15cd48d6732c8ddbcb99e20f5aec68f4a8dfc.zip
zsh-workers/10025
Diffstat (limited to 'Functions/Misc')
-rw-r--r--Functions/Misc/nslookup6
1 files changed, 4 insertions, 2 deletions
diff --git a/Functions/Misc/nslookup b/Functions/Misc/nslookup
index 2103a839b..24e46a391 100644
--- a/Functions/Misc/nslookup
+++ b/Functions/Misc/nslookup
@@ -17,7 +17,8 @@ zstyle -s ':nslookup' rprompt tmp && pmpt=("$pmpt[@]" -r "$tmp")
 
 zpty nslookup nslookup
 
-zpty -r nslookup line '*> '
+zpty -r nslookup line '*
+> '
 print -nr "$line"
 
 while line=''; vared -he "$pmpt[@]" line; do
@@ -26,7 +27,8 @@ while line=''; vared -he "$pmpt[@]" line; do
 
   zpty -w nslookup "$line"
 
-  zpty -r nslookup line '*> ' || break
+  zpty -r nslookup line '*
+> '
   print -nr "$line"
 done