summaryrefslogtreecommitdiff
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
parentee5aada47b24bb1b4fa3426f62aca4a16964b0ac (diff)
downloadzsh-a4a6f27c8eab879c0e583970c5074955d368ba5c.tar.gz
zsh-a4a6f27c8eab879c0e583970c5074955d368ba5c.zip
20834: use _webbrowser in _kfmclient
-rw-r--r--ChangeLog3
-rwxr-xr-xCompletion/X/Command/_kfmclient11
2 files changed, 10 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 4484b71b2..d128ed142 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
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
;;