From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12227 invoked from network); 7 Jun 2005 10:24:28 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 7 Jun 2005 10:24:28 -0000 Received: (qmail 79024 invoked from network); 7 Jun 2005 10:24:21 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 7 Jun 2005 10:24:21 -0000 Received: (qmail 11644 invoked by alias); 7 Jun 2005 10:24:14 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 8972 Received: (qmail 11635 invoked from network); 7 Jun 2005 10:24:13 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 7 Jun 2005 10:24:13 -0000 Received: (qmail 77952 invoked from network); 7 Jun 2005 10:24:13 -0000 Received: from vms040pub.verizon.net (206.46.252.40) by a.mx.sunsite.dk with SMTP; 7 Jun 2005 10:24:09 -0000 Received: from candle.brasslantern.com ([4.11.1.68]) by vms040.mailsrvcs.net (Sun Java System Messaging Server 6.2 HotFix 0.04 (built Dec 24 2004)) with ESMTPA id <0IHP00GCQM87M973@vms040.mailsrvcs.net> for zsh-users@sunsite.dk; Tue, 07 Jun 2005 05:24:08 -0500 (CDT) Received: from candle.brasslantern.com (IDENT:schaefer@localhost [127.0.0.1]) by candle.brasslantern.com (8.12.11/8.12.11) with ESMTP id j57AO6X8023141 for ; Tue, 07 Jun 2005 03:24:06 -0700 Received: (from schaefer@localhost) by candle.brasslantern.com (8.12.11/8.12.11/Submit) id j57AO613023140 for zsh-users@sunsite.dk; Tue, 07 Jun 2005 03:24:06 -0700 Date: Tue, 07 Jun 2005 10:24:05 +0000 From: Bart Schaefer Subject: Re: Avoid LDAP hit during completion In-reply-to: <200506070926.j579QW1R022316@news01.csr.com> To: zsh-users@sunsite.dk Message-id: <1050607102405.ZM23139@candle.brasslantern.com> MIME-version: 1.0 X-Mailer: Z-Mail (5.0.0 30July97) Content-type: text/plain; charset=us-ascii References: <200506070926.j579QW1R022316@news01.csr.com> Comments: In reply to Peter Stephenson "Re: Avoid LDAP hit during completion" (Jun 7, 10:26am) 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 On Jun 7, 10:26am, Peter Stephenson wrote: } Subject: Re: Avoid LDAP hit during completion } } Chris Wong wrote: } > For some reason, whenever I start a zsh shell, the first completion } > will trigger many many LDAP lookup. } } Are you using the new completion system (with compinit)? The best way } of tracking this down would be to see what the completion scripts are } doing. It's almost certainly the zsh/parameter module looking up all possible user names on the system to implement the $userdirs variable, which is used by several of the completion functions including _expand and the more obvious _users and _tilde_files. Unfortunately there's no simple way to disable this.