zsh-users
 help / color / mirror / code / Atom feed
From: Chris wong <chris_wong@mac.com>
To: zsh-users@sunsite.dk
Subject: Re: Avoid LDAP hit during completion
Date: Mon, 6 Jun 2005 11:38:08 -0700	[thread overview]
Message-ID: <f6510408c81142e17c8fd129d1467927@mac.com> (raw)
In-Reply-To: <D28C037D-5573-4E78-BD77-37ABE5BD11A0@kalama.no-ip.org>

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


  reply	other threads:[~2005-06-06 18:38 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-06 17:25 Chris Wong
2005-06-06 18:16 ` lists
2005-06-06 18:38   ` Chris wong [this message]
2005-06-07  9:26 ` Peter Stephenson
2005-06-07 10:24   ` Bart Schaefer
2005-06-07 12:33     ` lists
2005-06-07 16:27   ` Chris Wong
2005-06-07 23:19     ` Chris wong
2005-06-08  0:52       ` lists
2005-06-08  1:32         ` William Scott
2005-06-08  2:49           ` Bart Schaefer
2005-06-08  9:35       ` Peter Stephenson
2005-06-16  6:33         ` Chris Wong
2005-06-07 15:41 ` William Scott

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f6510408c81142e17c8fd129d1467927@mac.com \
    --to=chris_wong@mac.com \
    --cc=zsh-users@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).