Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

[PATCH] Unbalanced parenthesis in _urls



Another fallout from workers/35168 , patch attached.

ismail
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


Messages sorted by: Reverse Date, Date, Thread, Author