diff options
| author | Tanaka Akira <akr@users.sourceforge.net> | 2000-03-10 01:01:03 +0000 |
|---|---|---|
| committer | Tanaka Akira <akr@users.sourceforge.net> | 2000-03-10 01:01:03 +0000 |
| commit | 52e15cd48d6732c8ddbcb99e20f5aec68f4a8dfc (patch) | |
| tree | d4b0bde3f89b5c004dcbc5747cdefd2fd75cf1db /Functions | |
| parent | zsh-workers/10017 (diff) | |
| download | zsh-52e15cd48d6732c8ddbcb99e20f5aec68f4a8dfc.tar zsh-52e15cd48d6732c8ddbcb99e20f5aec68f4a8dfc.tar.gz zsh-52e15cd48d6732c8ddbcb99e20f5aec68f4a8dfc.tar.bz2 zsh-52e15cd48d6732c8ddbcb99e20f5aec68f4a8dfc.tar.lz zsh-52e15cd48d6732c8ddbcb99e20f5aec68f4a8dfc.tar.xz zsh-52e15cd48d6732c8ddbcb99e20f5aec68f4a8dfc.tar.zst zsh-52e15cd48d6732c8ddbcb99e20f5aec68f4a8dfc.zip | |
zsh-workers/10025
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 |
