From 060e8f4eed4e0193549f1b3143b7bb47e9fcabe1 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Thu, 26 Feb 2004 12:57:21 +0000 Subject: 19468: capitalize URL abbreviation in completion descriptions --- Completion/Unix/Command/_w3m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Completion/Unix/Command/_w3m') diff --git a/Completion/Unix/Command/_w3m b/Completion/Unix/Command/_w3m index 4e849ce0c..c8e5ef19d 100644 --- a/Completion/Unix/Command/_w3m +++ b/Completion/Unix/Command/_w3m @@ -30,7 +30,7 @@ _arguments -C \ '-o[option]:option-value' \ '-config:config file:_files' \ '-debug' \ - ':url:->html' \ + ':URL:->html' \ '+:goto line' && ret=0 if [[ -n $state ]]; then @@ -39,10 +39,10 @@ if [[ -n $state ]]; then _tags files w3mhistory urls while _tags; do _requested files expl 'file' _files -g "*.x#html(-.)" && ret=0 - _requested urls expl 'url' _urls && ret=0 + _requested urls expl 'URL' _urls && ret=0 if [[ -s ~/.w3m/history ]] && _requested w3mhistory; then w3mhistory=( ${(f)"$(<~/.w3m/history)"} ) - _all_labels w3mhistory expl 'url from history' compadd -a w3mhistory + _all_labels w3mhistory expl 'URL from history' compadd -a w3mhistory fi (( ret )) || break done -- cgit 1.4.1