From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15430 invoked by alias); 28 Oct 2011 23:12:13 -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: 16544 Received: (qmail 20647 invoked from network); 28 Oct 2011 23:12:12 -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=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW, T_TO_NO_BRKTS_FREEMAIL autolearn=ham version=3.3.1 Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.google.com designates 209.85.216.178 as permitted sender) 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= MIME-Version: 1.0 Date: Fri, 28 Oct 2011 16:12:05 -0700 Message-ID: Subject: Completing arguments containing the colon character From: Gabor Maghera To: zsh-users@zsh.org Content-Type: multipart/alternative; boundary=14dae93a151b953ca004b0640427 --14dae93a151b953ca004b0640427 Content-Type: text/plain; charset=UTF-8 We use a naming standard for Perforce specs of the form "::". 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 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 --14dae93a151b953ca004b0640427--