diff options
author | hut <hut@lepus.uberspace.de> | 2016-02-11 21:58:15 +0100 |
---|---|---|
committer | hut <hut@lepus.uberspace.de> | 2016-02-11 21:58:15 +0100 |
commit | 83afe266fb34b04263c8616d26d6eb7878cf6c5f (patch) | |
tree | d0005640ad5ccb3c9cdd6867882c92b617db4fe0 | |
parent | 24f64474d5184cda9ad752a69030eab691cdd5a9 (diff) | |
download | ranger-83afe266fb34b04263c8616d26d6eb7878cf6c5f.tar.gz |
config.commands: removed defunct "less %f" shortcut
this used to do a "!-p cat %f" when you only typed "!-p". Since this is not documented anywhere and currently defunct, I chose to remove the code entirely.
-rwxr-xr-x | ranger/config/commands.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ranger/config/commands.py b/ranger/config/commands.py index 66cb2cc8..f734d64a 100755 --- a/ranger/config/commands.py +++ b/ranger/config/commands.py @@ -209,8 +209,6 @@ class shell(Command): flags = '' command = self.rest(1) - if not command and 'p' in flags: - command = 'cat %f' if command: self.fm.execute_command(command, flags=flags) |