From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27066 invoked by alias); 10 Apr 2010 20:49:12 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 27874 Received: (qmail 29881 invoked from network); 10 Apr 2010 20:49:00 -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=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at closedmail.com does not designate permitted sender hosts) From: Bart Schaefer Message-id: <100410134855.ZM17401@torch.brasslantern.com> Date: Sat, 10 Apr 2010 13:48:53 -0700 In-reply-to: <20100409160756.GB12851@altlinux.org> Comments: In reply to "Alexey I. Froloff" "Re: _redirect and _x_arguments completion issue" (Apr 9, 8:07pm) References: <20100407134009.GB29592@altlinux.org> <100407075036.ZM13558@torch.brasslantern.com> <20100409160756.GB12851@altlinux.org> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org Subject: Re: _redirect and _x_arguments completion issue MIME-version: 1.0 Content-type: text/plain; charset=us-ascii On Apr 9, 8:07pm, Alexey I. Froloff wrote: } } > } Isn't _x_arguments dead since XOrg? } > Could you explain that a little more? I *think* what you mean is } > "since XOrg released X11R7.x". } I meant "since XOrg installs everything into /usr/ instead of } /usr/X11Rn/". And this only works (correct me if I'm wrong) } when command appears with full path. OK, you're wrong. :-) Patterns for compdef -P apply to the location of the command after looking it up in the command hash table. Nevertheless, I think the existence of /usr/X11R*/ is dependent on the OS distribution rather than on XOrg. If you can suggest a way to distinguish XOrg applications from everything else in /usr/bin on platforms that don't use a separate tree, I'm sure we'd be happy to fold that in. --