summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Functions/Misc/nslookup2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index bc2a167e2..833aad9db 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2000-11-05  Bart Schaefer  <schaefer@zsh.org>
 
+	* 13124: Functions/Misc/nslookup: Use "command nslookup" as it's
+	now possible to call the nslookup function recursively from zpty.
+	
 	* unposted: Src/Modules/zpty.c: Cloned shell is non-interactive
 	for purposes of calling zexit(), so it doesn't print job status,
 	save history, etc.
diff --git a/Functions/Misc/nslookup b/Functions/Misc/nslookup
index d4f7e96b9..5b49ae9d2 100644
--- a/Functions/Misc/nslookup
+++ b/Functions/Misc/nslookup
@@ -24,7 +24,7 @@ zstyle -s ':nslookup' pager tmp &&
     [[ -z "$pager" ]] && pager="${opager:-more}"
 (( $#pmpt )) || pmpt=(-p '> ')
 
-zpty nslookup nslookup "$@"
+zpty nslookup command nslookup "${(q)@}"
 
 zpty -r nslookup line '*
 > '