summaryrefslogtreecommitdiff
path: root/Completion/X/Command
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2005-02-21 13:42:32 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2005-02-21 13:42:32 +0000
commita4a6f27c8eab879c0e583970c5074955d368ba5c (patch)
tree0146c37eeb745f059f9395823d29f3dcf468a52f /Completion/X/Command
parentee5aada47b24bb1b4fa3426f62aca4a16964b0ac (diff)
downloadzsh-a4a6f27c8eab879c0e583970c5074955d368ba5c.tar.gz
zsh-a4a6f27c8eab879c0e583970c5074955d368ba5c.zip
20834: use _webbrowser in _kfmclient
Diffstat (limited to 'Completion/X/Command')
-rwxr-xr-xCompletion/X/Command/_kfmclient11
1 files changed, 7 insertions, 4 deletions
diff --git a/Completion/X/Command/_kfmclient b/Completion/X/Command/_kfmclient
index 5c45e9181..dc1bce0cb 100755
--- a/Completion/X/Command/_kfmclient
+++ b/Completion/X/Command/_kfmclient
@@ -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
;;