summaryrefslogtreecommitdiffstats
path: root/Functions
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-09-06 11:30:40 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-09-06 11:30:40 +0000
commitcc00ded216aac911c6fbb40f6d99273bec1c56f4 (patch)
tree16c31d9b5e967682815f4a22b4279f05085be32d /Functions
parentzsh-workers/7660 (diff)
downloadzsh-cc00ded216aac911c6fbb40f6d99273bec1c56f4.tar
zsh-cc00ded216aac911c6fbb40f6d99273bec1c56f4.tar.gz
zsh-cc00ded216aac911c6fbb40f6d99273bec1c56f4.tar.bz2
zsh-cc00ded216aac911c6fbb40f6d99273bec1c56f4.tar.lz
zsh-cc00ded216aac911c6fbb40f6d99273bec1c56f4.tar.xz
zsh-cc00ded216aac911c6fbb40f6d99273bec1c56f4.tar.zst
zsh-cc00ded216aac911c6fbb40f6d99273bec1c56f4.zip
revert 7652-for-pws-3
Diffstat (limited to 'Functions')
-rw-r--r--Functions/Misc/nslookup34
1 files changed, 0 insertions, 34 deletions
diff --git a/Functions/Misc/nslookup b/Functions/Misc/nslookup
index 775e01e85..15afb2ff1 100644
--- a/Functions/Misc/nslookup
+++ b/Functions/Misc/nslookup
@@ -32,37 +32,3 @@ done
print -p exit
wait $pid
-# Simple wrapper function for `nslookup'. With completion if you are using
-# the function based completion system.
-
-setopt localoptions completealiases
-
-local char line compcontext=nslookup pid
-
-trap 'print -p exit;return' INT
-
-coproc command nslookup
-pid=$!
-
-while read -pk1 char; do
- line="$line$char"
- [[ "$line" = *'
-> ' ]] && break
-done
-print -nr - "$line"
-
-line=''
-while vared -p '> ' line; do
- print -p "$line"
- line=''
- while read -pk1 char; do
- line="$line$char"
- [[ "$line" = *'
-> ' ]] && break
- done
- print -nr - "$line"
- line=''
-done
-
-print -p exit
-wait $pid