From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18195 invoked from network); 6 Jun 2005 18:17:03 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 6 Jun 2005 18:17:03 -0000 Received: (qmail 15882 invoked from network); 6 Jun 2005 18:16:56 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 6 Jun 2005 18:16:56 -0000 Received: (qmail 2699 invoked by alias); 6 Jun 2005 18:16:48 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 8969 Received: (qmail 2689 invoked from network); 6 Jun 2005 18:16:47 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 6 Jun 2005 18:16:47 -0000 Received: (qmail 14676 invoked from network); 6 Jun 2005 18:16:47 -0000 Received: from ms-smtp-03.texas.rr.com (HELO ms-smtp-03-eri0.texas.rr.com) (24.93.47.42) by a.mx.sunsite.dk with SMTP; 6 Jun 2005 18:16:43 -0000 Received: from amdxp.kalama.no-ip.org (cpe-66-68-88-186.austin.res.rr.com [66.68.88.186]) by ms-smtp-03-eri0.texas.rr.com (8.12.10/8.12.7) with ESMTP id j56IGURZ021338; Mon, 6 Jun 2005 13:16:31 -0500 (CDT) Received: from [10.0.1.3] (unknown [10.0.1.3]) by amdxp.kalama.no-ip.org (Postfix) with ESMTP id B0F82765; Mon, 6 Jun 2005 13:16:30 -0500 (CDT) In-Reply-To: References: Mime-Version: 1.0 (Apple Message framework v730) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Cc: zsh-users@sunsite.dk Reply-To: zsh-users@sunsite.dk Content-Transfer-Encoding: 7bit From: lists Subject: Re: Avoid LDAP hit during completion Date: Mon, 6 Jun 2005 13:16:26 -0500 To: Chris Wong X-Mailer: Apple Mail (2.730) X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Spam-Checker-Version: SpamAssassin 3.0.2 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, score=-2.6 required=6.0 tests=BAYES_00 autolearn=ham version=3.0.2 X-Spam-Hits: -2.6 Hi, Is there anything in your $fpath that might cause this? Is your 'cd' a function or alias of your own design? First try cd-ing after issuing 'zsh -f'. That should work. I don't know offhand why cd would make a call to LDAP as 'chown' or 'ls -l' would. Regards, Ryan On Jun 6, 2005, at 12:25 PM, Chris Wong wrote: > For some reason, whenever I start a zsh shell, the first completion > will trigger many many LDAP lookup. > > % cd foo > > As soon as I hit TAB, the shell appears as frozen, but at the > background, it's hitting the LDAP server of my company network. > This will go one for a couple minutes, at least. tcpdump and top > revealed that mystery to me. > > Is there any workaround for this? I'd hate to use bash after years > of using zsh. > > Thanks for any help! > Chris > > >