diff options
author | Clint Adams <clint@users.sourceforge.net> | 2006-09-30 21:16:12 +0000 |
---|---|---|
committer | Clint Adams <clint@users.sourceforge.net> | 2006-09-30 21:16:12 +0000 |
commit | 76a81e5393bf9f113e6158d10a4bba965acfd053 (patch) | |
tree | f725158e4c698240381059b26b1c54376309383b | |
parent | 3ede15153ee4f39c06ffe16ed3dcacab90e92436 (diff) | |
download | zsh-76a81e5393bf9f113e6158d10a4bba965acfd053.tar.gz zsh-76a81e5393bf9f113e6158d10a4bba965acfd053.tar.xz zsh-76a81e5393bf9f113e6158d10a4bba965acfd053.zip |
22795: handle https urls.
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | Completion/Unix/Type/_urls | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog index 89f121521..531784c39 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2006-09-30 Clint Adams <clint@zsh.org> + * 22795: R. Ramkumar: Completion/Unix/Type/_urls: + handle https urls. + * 22794: R. Ramkumar: Completion/Linux/Command/_acpitool, Completion/Linux/Type/_wakeup_capable_devices: completion for acpitool. 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 |