Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Avoid LDAP hit during completion



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