Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: _nslookup
- X-seq: zsh-workers 9389
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: PATCH: _nslookup
- Date: Thu, 20 Jan 2000 16:55:12 +0100 (MET)
- In-reply-to: Sven Wischnowsky's message of Thu, 20 Jan 2000 16:23:37 +0100	(MET)
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
I wrote:
> This at least tries to get sensible values for the domains, either
> from the domains style or from /etc/resolv.conf.
Argh. Sorry...
Bye
 Sven
diff -ru ../z.old/Completion/User/_domains Completion/User/_domains
--- ../z.old/Completion/User/_domains	Thu Jan 20 16:53:44 2000
+++ Completion/User/_domains	Thu Jan 20 16:54:03 2000
@@ -10,7 +10,7 @@
         [[ "$tmp" = (domain|search)* ]] &&
             _cache_domains=( "$_cache_domains[@]" "${=${tmp%%[ 	]#}#*[ 	]}" )
       done < /etc/resolv.conf
-      _cache_domains=( "${(@)_nslookup_domains:#[ 	]#}" )
+      _cache_domains=( "${(@)_cache_domains:#[ 	]#}" )
     fi
   fi
   domains=( "$_cache_domains[@]" )
--
Sven Wischnowsky                         wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author