diff options
-rwxr-xr-x | ranger/ext/rifle.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ranger/ext/rifle.py b/ranger/ext/rifle.py index f2dacf79..6f1ecbad 100755 --- a/ranger/ext/rifle.py +++ b/ranger/ext/rifle.py @@ -255,6 +255,10 @@ class Rifle(object): break else: found_at_least_one = True + else: + if label and label in get_executables(): + cmd = '%s -- "$@"' % label + command = self._build_command(files, cmd, flags) # Execute command if command is None: |