From 76a81e5393bf9f113e6158d10a4bba965acfd053 Mon Sep 17 00:00:00 2001 From: Clint Adams Date: Sat, 30 Sep 2006 21:16:12 +0000 Subject: 22795: handle https urls. --- Completion/Unix/Type/_urls | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Completion/Unix/Type/_urls') diff --git a/Completion/Unix/Type/_urls b/Completion/Unix/Type/_urls index c65b3610b..853a48553 100644 --- a/Completion/Unix/Type/_urls +++ b/Completion/Unix/Type/_urls @@ -66,7 +66,7 @@ if ! compset -P '(#b)([-+.a-z0-9]#):'; then 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 @@ fi 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 -- cgit 1.4.1