Package: zsh
Version: 4.3.2-17
Severity: wishlist
Tags: patch

Hi!

Here's a small patch to add https to the list of protocols used for
completion by _urls. I guess this is a common enough protocol to
warrant this addition :)

Regards,
Ramkumar.

--- _urls.orig	2006-09-28 00:00:55.262396304 +0530
+++ _urls	2006-03-18 02:09:01.000000000 +0530
@@ -66,7 +66,7 @@
       compset -S '[^:/]*' && compstate[to_end]=''
       [[ -d $urls/bookmark ]] &&
         compadd "[EMAIL PROTECTED]" bookmark: && ret=0
-      compadd "[EMAIL PROTECTED]" file: ftp:// gopher:// http:// && ret=0
+      compadd "[EMAIL PROTECTED]" file: ftp:// gopher:// http:// https:// && ret=0
     done
     (( ret )) || return 0
   done
@@ -75,7 +75,7 @@
 scheme="$match[1]"
 
 case "$scheme" in
-  http|ftp|gopher)
+  http(|s)|ftp|gopher)
     if ! compset -P //; then
       _wanted -C "$scheme" prefixes expl 'end of prefix' compadd -S '' "$@" //
       return
-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (101, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.16-beyond2
Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8)

Versions of packages zsh depends on:
ii  debconf [debconf-2.0]        1.5.4       Debian configuration management sy
ii  libc6                        2.3.6.ds1-4 GNU C Library: Shared libraries
ii  libncurses5                  5.5-3       Shared libraries for terminal hand

Versions of packages zsh recommends:
ii  libcap1                       1:1.10-14  support for getting/setting POSIX.
ii  libpcre3                      6.4-2      Perl 5 Compatible Regular Expressi

-- no debconf information

-- 
WARN_(accel)("msg null; should hang here to be win compatible\n");
                                   -- WINE source code

Reply via email to