zsh-users
 help / color / mirror / code / Atom feed
* Completing arguments containing the colon character
@ 2011-10-28 23:12 Gabor Maghera
  2011-10-28 23:25 ` Daniel Shahaf
  2011-10-29 18:30 ` Peter Stephenson
  0 siblings, 2 replies; 4+ messages in thread
From: Gabor Maghera @ 2011-10-28 23:12 UTC (permalink / raw)
  To: zsh-users

[-- Attachment #1: Type: text/plain, Size: 858 bytes --]

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-10-31 19:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-28 23:12 Completing arguments containing the colon character Gabor Maghera
2011-10-28 23:25 ` Daniel Shahaf
2011-10-29 18:30 ` Peter Stephenson
2011-10-31 19:34   ` Gabor Maghera

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).