summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
;;