mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-10 12:40:58 +02:00
20834: use _webbrowser in _kfmclient
This commit is contained in:
parent
ee5aada47b
commit
a4a6f27c8e
2 changed files with 10 additions and 4 deletions
|
@ -1,5 +1,8 @@
|
||||||
2005-02-21 Peter Stephenson <pws@csr.com>
|
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
|
* 20833: Src/Zle/zle.h: typo in 20822: int_t should have
|
||||||
been wint_t.
|
been wint_t.
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
#compdef kfmclient
|
#compdef kfmclient
|
||||||
|
|
||||||
|
# kfmclient is a command line interface for use with Konqueror,
|
||||||
|
# the KDE file manager and web browser.
|
||||||
|
|
||||||
local expl
|
local expl
|
||||||
local -a context state line
|
local -a context state line
|
||||||
typeset -A opt_args
|
typeset -A opt_args
|
||||||
|
@ -60,14 +63,14 @@ case $line[1] in
|
||||||
_mime_types
|
_mime_types
|
||||||
return
|
return
|
||||||
elif [[ $state = firstarg ]]; then
|
elif [[ $state = firstarg ]]; then
|
||||||
_urls
|
_webbrowser
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
(openProfile)
|
(openProfile)
|
||||||
if [[ $state = secondarg ]]; then
|
if [[ $state = secondarg ]]; then
|
||||||
_urls
|
_webbrowser
|
||||||
return
|
return
|
||||||
elif [[ $state = firstarg ]]; then
|
elif [[ $state = firstarg ]]; then
|
||||||
_wanted profile expl 'Konqueror profile' \
|
_wanted profile expl 'Konqueror profile' \
|
||||||
|
@ -82,14 +85,14 @@ case $line[1] in
|
||||||
_message "KDE binding"
|
_message "KDE binding"
|
||||||
return
|
return
|
||||||
elif [[ $state = firstarg ]]; then
|
elif [[ $state = firstarg ]]; then
|
||||||
_urls
|
_webbrowser
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
(move|download|openProperties)
|
(move|download|openProperties)
|
||||||
if [[ $state = firstarg ]]; then
|
if [[ $state = firstarg ]]; then
|
||||||
_urls
|
_webbrowser
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in a new issue