zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: _urls with https://
@ 2006-09-30 21:14 Clint Adams
  0 siblings, 0 replies; only message in thread
From: Clint Adams @ 2006-09-30 21:14 UTC (permalink / raw)
  To: zsh-workers

Patch from R.Ramkumar.

Index: Completion/Unix/Type/_urls
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Type/_urls,v
retrieving revision 1.10
diff -u -r1.10 _urls
--- Completion/Unix/Type/_urls	27 Jun 2005 14:45:33 -0000	1.10
+++ Completion/Unix/Type/_urls	30 Sep 2006 21:12:58 -0000
@@ -66,7 +66,7 @@
       compset -S '[^:/]*' && compstate[to_end]=''
       [[ -d $urls/bookmark ]] &&
         compadd "$expl[@]" bookmark: && ret=0
-      compadd "$expl[@]" file: ftp:// gopher:// http:// && ret=0
+      compadd "$expl[@]" 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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-09-30 21:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-30 21:14 PATCH: _urls with https:// Clint Adams

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).