diff options
Diffstat (limited to 'Functions')
-rw-r--r-- | Functions/Misc/nslookup | 6 |
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 |