diff options
author | toonn <toonn@toonn.io> | 2021-07-22 14:03:54 +0200 |
---|---|---|
committer | toonn <toonn@toonn.io> | 2021-07-22 14:03:54 +0200 |
commit | f1f3f1765f6e97b4e1af80da8f237bf7f1ad895f (patch) | |
tree | 6fec4e05fdd3c15748dd9697d299a2d2813d9f58 | |
parent | e9db2a71ddde38c0ead6c98973ef5dc7bc0a3b09 (diff) | |
parent | 9f24198646ed938e5b47b0b0fd880ed4dbf9c7e4 (diff) | |
download | ranger-f1f3f1765f6e97b4e1af80da8f237bf7f1ad895f.tar.gz |
Merge remote-tracking branch 'earboxer/fixgrep'
-rwxr-xr-x | ranger/config/commands.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/config/commands.py b/ranger/config/commands.py index 7978111b..0b61b6e4 100755 --- a/ranger/config/commands.py +++ b/ranger/config/commands.py @@ -1756,7 +1756,7 @@ class grep(Command): def execute(self): if self.rest(1): - action = ['grep', '--line-number'] + action = ['grep', '-n'] action.extend(['-e', self.rest(1), '-r']) action.extend(f.path for f in self.fm.thistab.get_selection()) self.fm.execute_command(action, flags='p') |