Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
How to turn off Mac OS X Network share completion?
- X-seq: zsh-users 16507
- From: Gabriel Gilder <gabriel.gilder@xxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: How to turn off Mac OS X Network share completion?
- Date: Tue, 18 Oct 2011 00:31:38 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer; bh=r8t0rvcZiL195XILwy6FIO15pFZMkTatMkxB0JZnnM8=; b=Ow4gxYkdlGV31Mtcp3r4jwFh8fBxNcwCKzLmr8OOzTQr3Wf7zi5aufh8v758hDskhY AtdO/QwVZO9BH6wMkO99tVt7xVjhdxDptbtK+6MBdbpCrDo3nEjyzmAv2rvUuKLdlxCL TmMbBauizBaSlMGUFCXlk/2pTWPKTiQjcUjSk=
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
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
compinit
Is there a flag to turn off this type of completion across network shares?
Thanks in advance for any pointers,
-Gabriel
Messages sorted by:
Reverse Date,
Date,
Thread,
Author