mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 16:34:47 +01:00
Fix wrong group reference
This commit is contained in:
parent
14d818b3c5
commit
cec182f8f0
1 changed files with 1 additions and 1 deletions
|
@ -287,6 +287,6 @@ def complete_dir(prefix, line, start, end, ctx, cdpath=False):
|
|||
dirs = set()
|
||||
for path in paths:
|
||||
m = RE_UNQUOTE.match(path)
|
||||
if m and os.path.isdir(m.group(2)):
|
||||
if m and os.path.isdir(m.group(3)):
|
||||
dirs.add(path)
|
||||
return dirs, lp
|
||||
|
|
Loading…
Add table
Reference in a new issue