diff options
author | Oliver Kiddle <opk@users.sourceforge.net> | 2003-07-02 10:25:05 +0000 |
---|---|---|
committer | Oliver Kiddle <opk@users.sourceforge.net> | 2003-07-02 10:25:05 +0000 |
commit | 1cb11615aa337d98022a48c1c3c8c5c33b0b57c2 (patch) | |
tree | 666f075271d340fabcc63b564e1c296aa3715f9e /Completion/Unix/Command/_links | |
parent | bedc4995d225195a2e48c0d9430ceb97adfb7e2f (diff) | |
download | zsh-1cb11615aa337d98022a48c1c3c8c5c33b0b57c2.tar.gz zsh-1cb11615aa337d98022a48c1c3c8c5c33b0b57c2.tar.xz zsh-1cb11615aa337d98022a48c1c3c8c5c33b0b57c2.zip |
merge changes back from 4.1
Diffstat (limited to 'Completion/Unix/Command/_links')
-rw-r--r-- | Completion/Unix/Command/_links | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_links b/Completion/Unix/Command/_links index d21fae9db..899c10108 100644 --- a/Completion/Unix/Command/_links +++ b/Completion/Unix/Command/_links @@ -1,6 +1,6 @@ #compdef links -local curcontext="$curcontext" state line +local curcontext="$curcontext" state line ret=1 typeset -A opt_args _arguments -C \ @@ -25,10 +25,13 @@ _arguments -C \ '(-help)-source[dump the source page]' \ '(-help)-unrestartable-receive-timeout[timeout on non restartable connections]:secs:' \ '(-help)-version[prints the links version number and exit]' \ - ':url:->html' && return 0 + ':url:->html' && ret=0 case "$state" in html) _files -g '*.html' || _urls + return ;; esac + +return ret |