summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lepus.uberspace.de>2015-10-15 11:50:24 +0200
committerhut <hut@lepus.uberspace.de>2015-10-15 11:50:24 +0200
commitb95b8c619bc91ddd70593d7062a7aaee4a5efb64 (patch)
tree3828950010e7922f82e5e4a6aa1bd39377de9791
parent8c8b2e951b3f9b81e363cf82ba99c4fb097ce05c (diff)
downloadranger-b95b8c619bc91ddd70593d7062a7aaee4a5efb64.tar.gz
config/rifle.conf: put the entry for executing programs at bottom
-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"