zsh-workers
 help / color / mirror / code / Atom feed
From: "İsmail Dönmez" <ismail@donmez.ws>
To: "Zsh Hackers' List" <zsh-workers@zsh.org>
Subject: [PATCH] Unbalanced parenthesis in _urls
Date: Wed, 20 May 2015 15:03:21 +0300	[thread overview]
Message-ID: <CAJ1KOAid3SWV=Gdt7VuoqpiDyxtrVvfgRrPoxnNiw0esT6T7jw@mail.gmail.com> (raw)

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

Another fallout from workers/35168 , patch attached.

ismail

[-- Attachment #2: url-parens.patch --]
[-- Type: text/x-patch, Size: 432 bytes --]

Index: zsh/Completion/Unix/Type/_urls
===================================================================
--- zsh.orig/Completion/Unix/Type/_urls
+++ zsh/Completion/Unix/Type/_urls
@@ -75,7 +75,7 @@ fi
 scheme="$match[1]"
 
 case "$scheme" in
-  http(|s)|(|s)ftp|scp|gopher)
+  (http(|s)|(|s)ftp|scp|gopher)
     if ! compset -P //; then
       _wanted -C "$scheme" prefixes expl 'end of prefix' compadd -S '' "$@" //
       return

             reply	other threads:[~2015-05-20 12:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-20 12:03 İsmail Dönmez [this message]
2015-05-20 12:54 ` Peter Stephenson
2015-05-20 12:57   ` İsmail Dönmez
2015-05-20 13:07     ` Peter Stephenson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJ1KOAid3SWV=Gdt7VuoqpiDyxtrVvfgRrPoxnNiw0esT6T7jw@mail.gmail.com' \
    --to=ismail@donmez.ws \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).