Zsh Mailing List Archive
Messages sorted by:
Re: How to turn off Mac OS X Network share completion?
- X-seq: zsh-users 16516
- From: Gabriel Gilder <gabriel.gilder@xxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: How to turn off Mac OS X Network share completion?
- Date: Tue, 18 Oct 2011 17:53:31 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=N9Z/zWSkz09D2qLYGdMw1+1jN9zLYw1zpMfFDd8fNX0=; b=t1l0We4y3IDyj8eiDvECi0L2LQvwCN1RwToO92ZWs5KEYGaT72UIq6nOBIDvLH9ZNl EKEazIDJp930Rj9KzV9zMzWm0FOStdAM3kLOyylrouwakPVPp3lDX8vxX46CnsFMfCRQ 6m9f6QBTMC7Y4jTQoQkr7IjpIB1AK+r9fLlKk=
- In-reply-to: <4CBE5AC0-6C49-4BA3-B803-91957D411809@gmail.com>
- List-help: <mailto:firstname.lastname@example.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:email@example.com>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <4CBE5AC0-6C49-4BA3-B803-91957D411809@gmail.com>
After a lot of banging my head against the wall, I figured out my problem, so I figured I'd post it here for anyone experiencing similar issues.
I included this line in my configuration:
zstyle ':completion:*' users ''
And now, mercifully, no user directories are used for completion. Whew!
On Oct 18, 2011, at 12:31 AM, Gabriel Gilder wrote:
> Hi there,
> I've just switched to zsh from bash so apologies if this is a total newbie question. I've searched the list and done quite a bit of Googling but couldn't find a solution.
> I'm often on a VPN for my company, and when I'm on the VPN a number of servers appear in Mac OS X's "/Network/Servers" path. The problem is that zsh tries to complete across these directories, so when I type, for instance, "cd adam<TAB>", the shell freezes up for about a minute while it searches across the network, and then I get a menu of usernames like so:
> adam0 adam1 adam2 adam3 adam4 adam5
> (Actual names redacted.)
> Then if I run "cd adam0" I'm taken to something like "/Network/Servers/example.com/Volumes/misc/adam0".
> This seems to be the default behavior if I have these lines in my .zshrc:
> autoload -U compinit
> Is there a flag to turn off this type of completion across network shares?
> Thanks in advance for any pointers,
Messages sorted by: