about summary refs log tree commit diff
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2015-07-23 05:25:37 +0200
committerOliver Kiddle <opk@zsh.org>2015-07-23 05:25:37 +0200
commita925d036fca112c159e45b5965fa856e4ce9be55 (patch)
treeddb7c6968071855a959e601a3f5ce025135a5af4
parentaee8aebd671af2ef2e32c742f4f8bffe588a5513 (diff)
downloadzsh-a925d036fca112c159e45b5965fa856e4ce9be55.tar.gz
zsh-a925d036fca112c159e45b5965fa856e4ce9be55.tar.xz
zsh-a925d036fca112c159e45b5965fa856e4ce9be55.zip
35815: fix for lack of startup output from newer nslookup
-rw-r--r--ChangeLog2
-rw-r--r--Functions/Misc/nslookup3
2 files changed, 3 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index ded5bd666..f2f704c67 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2015-07-23  Oliver Kiddle <opk@zsh.org>
 
+	* 35815: Functions/Misc/nslookup: fix for newer nslookup
+
 	* 35814: Src/Zle/zle_main.c: POSTEDIT needs to be unmetafied
 
 2015-07-22  Barton E. Schaefer  <schaefer@zsh.org>
diff --git a/Functions/Misc/nslookup b/Functions/Misc/nslookup
index 150bd035c..8c11909d5 100644
--- a/Functions/Misc/nslookup
+++ b/Functions/Misc/nslookup
@@ -26,8 +26,7 @@ zstyle -s ':nslookup' pager tmp &&
 
 zpty nslookup command nslookup "${(q)@}"
 
-zpty -r nslookup line '*
-> '
+zpty -r nslookup line '*> '
 print -nr "$line"
 
 while line=''; vared -he "$pmpt[@]" line; do