From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4807 invoked from network); 20 Jan 2000 15:55:22 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 20 Jan 2000 15:55:22 -0000 Received: (qmail 10956 invoked by alias); 20 Jan 2000 15:55:15 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9389 Received: (qmail 10949 invoked from network); 20 Jan 2000 15:55:14 -0000 Date: Thu, 20 Jan 2000 16:55:12 +0100 (MET) Message-Id: <200001201555.QAA29612@beta.informatik.hu-berlin.de> From: Sven Wischnowsky To: zsh-workers@sunsite.auc.dk In-reply-to: Sven Wischnowsky's message of Thu, 20 Jan 2000 16:23:37 +0100 (MET) Subject: Re: PATCH: _nslookup 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@informatik.hu-berlin.de