Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Avoid LDAP hit during completion
- X-seq: zsh-users 8974
- From: William Scott <wgscott@xxxxxxxxxxxxxxxxxx>
- To: Chris Wong <chris_wong@xxxxxxx>
- Subject: Re: Avoid LDAP hit during completion
- Date: Tue, 7 Jun 2005 08:41:05 -0700 (PDT)
- Cc: zsh-users@xxxxxxxxxx, wgscott1@xxxxxxx
- In-reply-to: <FFF88236-D978-451E-8149-E994EFAB420F@xxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <FFF88236-D978-451E-8149-E994EFAB420F@xxxxxxx>
One possible approach is to use a modified _users completion function.
I haven't had the problem you are reporting, but I got tired of having
all the fake users like www added to the completion list, so I have been
using this:
http://xanana.ucsc.edu/Library/init/zsh/local-functions/darwin/_users
HTH,
Bill
On Mon, 6 Jun 2005, Chris Wong wrote:
> For some reason, whenever I start a zsh shell, the first completion
> will trigger many many LDAP lookup.
>
> % cd foo<TAB>
>
> 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
>
>
>
Messages sorted by:
Reverse Date,
Date,
Thread,
Author