commit
f2f6c9a504
|
@ -99,7 +99,7 @@ class DirOpen(Method):
|
|||
class DirGrep(Method):
|
||||
args = [Argument('pattern', datatype="str", prompt="Pattern: ")]
|
||||
def _execute(self, w, **vargs):
|
||||
cmd = 'grep -rEl "%s" %r' % (vargs['pattern'], w.buffer.path)
|
||||
cmd = 'grep -rEl -- "%s" %r' % (vargs['pattern'], w.buffer.path)
|
||||
(status, output) = commands.getstatusoutput(cmd)
|
||||
|
||||
paths = []
|
||||
|
|
Loading…
Reference in New Issue