1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-22 16:20:23 +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 @@
#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
;;