1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-01 21:51:40 +02:00

20834: use _webbrowser in _kfmclient

This commit is contained in:
Peter Stephenson 2005-02-21 13:42:32 +00:00
parent ee5aada47b
commit a4a6f27c8e
2 changed files with 10 additions and 4 deletions

View file

@ -1,5 +1,8 @@
2005-02-21 Peter Stephenson <pws@csr.com>
* 20834: Completion/X/Command/_kfmclient: use _webbrowser for
file/URL arguments.
* 20833: Src/Zle/zle.h: typo in 20822: int_t should have
been wint_t.

View file

@ -1,5 +1,8 @@
#compdef kfmclient
# kfmclient is a command line interface for use with Konqueror,
# the KDE file manager and web browser.
local expl
local -a context state line
typeset -A opt_args
@ -60,14 +63,14 @@ case $line[1] in
_mime_types
return
elif [[ $state = firstarg ]]; then
_urls
_webbrowser
return
fi
;;
(openProfile)
if [[ $state = secondarg ]]; then
_urls
_webbrowser
return
elif [[ $state = firstarg ]]; then
_wanted profile expl 'Konqueror profile' \
@ -82,14 +85,14 @@ case $line[1] in
_message "KDE binding"
return
elif [[ $state = firstarg ]]; then
_urls
_webbrowser
return
fi
;;
(move|download|openProperties)
if [[ $state = firstarg ]]; then
_urls
_webbrowser
return
fi
;;