summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/config/rifle.conf4
1 files changed, 3 insertions, 1 deletions
diff --git a/ranger/config/rifle.conf b/ranger/config/rifle.conf
index ff73a072..76a3f4f3 100644
--- a/ranger/config/rifle.conf
+++ b/ranger/config/rifle.conf
@@ -103,7 +103,6 @@ ext rb  = ruby -- "$1"
 ext js  = node -- "$1"
 ext sh  = sh -- "$1"
 ext php = php -- "$1"
-mime application/x-executable = "$1"
 
 #--------------------------------------------
 # Audio without X
@@ -202,3 +201,6 @@ label wallpaper, number 14, mime ^image, has feh, X = feh --bg-fill "$1"
               !mime ^text, !ext xml|json|csv|tex|py|pl|rb|js|sh|php  = ask
 label editor, !mime ^text, !ext xml|json|csv|tex|py|pl|rb|js|sh|php  = $EDITOR -- "$@"
 label pager,  !mime ^text, !ext xml|json|csv|tex|py|pl|rb|js|sh|php  = "$PAGER" -- "$@"
+
+# The very last action, so that it's never triggered accidently, is to execute a program:
+mime application/x-executable = "$1"