diff options
Diffstat (limited to 'Completion/Unix/Command/_w3m')
-rw-r--r-- | Completion/Unix/Command/_w3m | 6 |
1 files changed, 3 insertions, 3 deletions
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 |