about summary refs log tree commit diff
path: root/Completion/X/Command/_kfmclient
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/X/Command/_kfmclient')
-rwxr-xr-xCompletion/X/Command/_kfmclient23
1 files changed, 14 insertions, 9 deletions
diff --git a/Completion/X/Command/_kfmclient b/Completion/X/Command/_kfmclient
index f83e51779..5c45e9181 100755
--- a/Completion/X/Command/_kfmclient
+++ b/Completion/X/Command/_kfmclient
@@ -54,38 +54,43 @@ download copy sortDesktop configure configureDesktop)' \
 
 # Argument to previous command.
 
-print $line >/tmp/tmp.out
-
 case $line[1] in
   (openURL)
   if [[ $state = secondarg ]]; then
-    _mime_types && return 0
+    _mime_types
+    return
   elif [[ $state = firstarg ]]; then
-    _urls && return 0
+    _urls
+    return
   fi
   ;;
 
   (openProfile)
   if [[ $state = secondarg ]]; then
-    _urls && return 0
+    _urls
+    return
   elif [[ $state = firstarg ]]; then
     _wanted profile expl 'Konqueror profile' \
-      compadd -- ~/.kde/share/apps/konqueror/profiles/*(:t) && return 0
+      compadd -- ~/.kde/share/apps/konqueror/profiles/*(:t)
+    return
   fi
   ;;
 
   (exec)
   if [[ $state = secondarg ]]; then
     # TODO: could probe inside Desktop files.
-    _message "KDE binding" && return 0
+    _message "KDE binding"
+    return
   elif [[ $state = firstarg ]]; then
-    _urls && return 0
+    _urls
+    return
   fi
   ;;
 
   (move|download|openProperties)
   if [[ $state = firstarg ]]; then
-      _urls && return 0
+      _urls
+      return
   fi
   ;;
 esac