Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: _redirect and _x_arguments completion issue
- X-seq: zsh-workers 27874
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: _redirect and _x_arguments completion issue
- Date: Sat, 10 Apr 2010 13:48:53 -0700
- In-reply-to: <20100409160756.GB12851@xxxxxxxxxxxx>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <20100407134009.GB29592@xxxxxxxxxxxx> <100407075036.ZM13558@xxxxxxxxxxxxxxxxxxxxxx> <20100409160756.GB12851@xxxxxxxxxxxx>
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.
--
Messages sorted by:
Reverse Date,
Date,
Thread,
Author