Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Completing arguments containing the colon character
- X-seq: zsh-users 16544
- From: Gabor Maghera <gmaghera@xxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Completing arguments containing the colon character
- Date: Fri, 28 Oct 2011 16:12:05 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=QlRqCoxeaD/lH/pvxBK0LchJDd311RkwJw+AX7zRHuo=; b=Kx3OABCxqgezySm00fOjpx5FZO22BrkpHjHGm/X/A1OJcmAUGkRYfqrwvaUX8JCbsa hzh52RwlOff9XnNgxrb489OzAP7VHd1SGxiiKYlah0kcGLk/zmogEHWAdMBoq/ovoI/k 3p7hdmeFv9F3Z1dwkYOF5YNx1Z4woJqfLzCQ4=
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
We use a naming standard for Perforce specs of the form
"<username>::<arbitrary>". Zsh autocompletion cannot process these entries,
due to the colon character being used as a list separator by its mechanism
(as I understand).
Is there a way to make it work? I've been perusing the man page for
zcompsys, as well as the _perforce completion module, but I'm not sure it's
possible.
Here is an example of what the erroneous completions look like:
% p4 client -o p4droid<tab><tab>
p4droid --
:PerforceTriggers:2009/12/29 root /opt/local/perforce/trigger_scripts
'Created by p4droid. '
p4droid -- :triggers:2009/12/18
root /Workspace/trigger_test 'Created by gabor.maghera. '
The full entry names are p4droid::PerforceTriggers and p4doird::triggers.
Thanks in advance,
Gabor
Messages sorted by:
Reverse Date,
Date,
Thread,
Author