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

Re: Avoid LDAP hit during completion



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<TAB>' 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<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