From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9354 invoked by alias); 13 Apr 2010 16:33:20 -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: 15003 Received: (qmail 26364 invoked from network); 13 Apr 2010 16:33:18 -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: 1180711d-b7cabae00000754b-a4-4bc49ccaf144 From: Matt Wright Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Zsh autocompletion with no access to a parent directory Date: Tue, 13 Apr 2010 09:33:15 -0700 Message-Id: <3663DC29-7A8F-4A0C-8262-5FFE701C8E3A@sysctl.co.uk> To: zsh-users@zsh.org Mime-Version: 1.0 (Apple Message framework v1143) X-Mailer: Apple Mail (2.1143) X-Brightmail-Tracker: AAAAAQAAAZE= Hey, I've run into a problem with autocompletion and I can't seem to find = anything about it from googling. Hopefully someone might be able to = help. The situation is this: At work we make fairly heavy use of network home = directories. In one particular case some important scripts live in = ~foo/bin, however, the actually home directory of ~foo is not = accessible. This appears to give _path_files a big headache, as trying = to type the following results in no completion suggestions. # ~foo/bin/ As far as I can tell from my attempts to parse the debugging output, it = is attempting to traverse ~foo for path expansion? I was attempting to = look for a way to disable path expansion (the /u/l/b -> /usr/local/bin = stuff) while leaving normal filename suggestion intact. Either that, or = a way to alter _path_files such that it doesn't die in this situation. Any ideas? Regards, Matt=