--HG--
branch : pmacs2
This commit is contained in:
Erik Osheim 2009-07-21 12:51:47 -04:00
commit f2f6c9a504
1 changed files with 1 additions and 1 deletions

View File

@ -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 = []