From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9191 invoked by alias); 19 Oct 2011 00:53:44 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 16516 Received: (qmail 22434 invoked from network); 19 Oct 2011 00:53:43 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW, T_TO_NO_BRKTS_FREEMAIL autolearn=ham version=3.3.1 Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.google.com designates 209.85.213.171 as permitted sender) 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= Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1084) Subject: Re: How to turn off Mac OS X Network share completion? From: Gabriel Gilder In-Reply-To: <4CBE5AC0-6C49-4BA3-B803-91957D411809@gmail.com> Date: Tue, 18 Oct 2011 17:53:31 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: <4CBE5AC0-6C49-4BA3-B803-91957D411809@gmail.com> To: zsh-users@zsh.org X-Mailer: Apple Mail (2.1084) 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! -Gabriel On Oct 18, 2011, at 12:31 AM, Gabriel Gilder wrote: > Hi there, >=20 > 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. >=20 > 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", the shell freezes up for about a minute while = it searches across the network, and then I get a menu of usernames like = so: >=20 > adam0 adam1 adam2 adam3 adam4 adam5 =20 >=20 > (Actual names redacted.) >=20 > Then if I run "cd adam0" I'm taken to something like = "/Network/Servers/example.com/Volumes/misc/adam0". >=20 > This seems to be the default behavior if I have these lines in my = .zshrc: >=20 > autoload -U compinit > compinit >=20 > Is there a flag to turn off this type of completion across network = shares? >=20 > Thanks in advance for any pointers, >=20 > -Gabriel >=20 >=20