From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20996 invoked by alias); 13 Apr 2010 17:11:50 -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: 15005 Received: (qmail 2380 invoked from network); 13 Apr 2010 17:11:49 -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=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at sysctl.co.uk does not designate permitted sender hosts) X-AuditID: 11807137-b7b6bae000002b45-be-4bc4a5d068ae Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1143) Subject: Re: Zsh autocompletion with no access to a parent directory From: Matt Wright In-Reply-To: <20100413174533.5a15043a@news01> Date: Tue, 13 Apr 2010 10:11:46 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: <3663DC29-7A8F-4A0C-8262-5FFE701C8E3A@sysctl.co.uk> <20100413174533.5a15043a@news01> To: zsh-users@zsh.org X-Mailer: Apple Mail (2.1143) X-Brightmail-Tracker: AAAAAQAAAZE= > zstyle ':completion:*' accept-exact-dirs true Yep, sadly this doesn't work.=20 > I'm not sure if this will help in the case you're describing, however, > since it looks like it might not be able to tell if the directory = exists. > You'll need zsh 4.3. zsh 4.3.9 I found something along the following lines: zstyle -e ':completion:*' file-patterns '[[ $PREFIX =3D=3D = /expanded/path/to/network/[^/]# ]] && { setopt noglob; reply=3D(*(@)); = setopt glob }' That doesn't appear to do anything interesting though. I suspect I'm = barking up the wrong tree with that one? M