Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Avoid LDAP hit during completion
- X-seq: zsh-users 8970
- From: Chris wong <chris_wong@xxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Avoid LDAP hit during completion
- Date: Mon, 6 Jun 2005 11:38:08 -0700
- In-reply-to: <D28C037D-5573-4E78-BD77-37ABE5BD11A0@xxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <FFF88236-D978-451E-8149-E994EFAB420F@xxxxxxx> <D28C037D-5573-4E78-BD77-37ABE5BD11A0@xxxxxxxxxxxxxxxx>
Thanks for the quick reply, Ryan.
My $fpath has the standard value pointing to
/usr/share/zsh/site-functions /usr/share/zsh/4.1.1/functions
cd is not aliased or redefined in any way.
I should have been more clear about it. It doesn't just happen to cd,
it happened to ls and any other commands that trigger file/dir
completion. Just a few minutes ago, I noticed that it doesn't
necessarily happen at the first time of completion.
My zsh is running on Mac OS X 10.3 and the LDAP directory service it's
hitting is Active Directory.
Chris
--
Chris
On Jun 6, 2005, at 11:16 AM, lists wrote:
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