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

Re: Avoid LDAP hit during completion



On Jun 7, 10:26am, Peter Stephenson wrote:
} Subject: Re: Avoid LDAP hit during completion
}
} Chris Wong wrote:
} > For some reason, whenever I start a zsh shell, the first completion  
} > will trigger many many LDAP lookup.
} 
} Are you using the new completion system (with compinit)?  The best way
} of tracking this down would be to see what the completion scripts are
} doing.

It's almost certainly the zsh/parameter module looking up all possible
user names on the system to implement the $userdirs variable, which is
used by several of the completion functions including _expand and the
more obvious _users and _tilde_files.

Unfortunately there's no simple way to disable this.



Messages sorted by: Reverse Date, Date, Thread, Author