mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 16:34:47 +01:00
Fixed quoted paths not being recognized as directories
This commit is contained in:
parent
ce79bb7ad3
commit
e28968e90b
1 changed files with 1 additions and 1 deletions
|
@ -279,4 +279,4 @@ def complete_path(prefix, line, start, end, ctx, cdpath=True):
|
|||
|
||||
def complete_dir(prefix, line, start, end, ctx, cdpath=False):
|
||||
o, lp = complete_path(prefix, line, start, end, cdpath)
|
||||
return {i for i in o if os.path.isdir(i)}, lp
|
||||
return {i for i in o if os.path.isdir(i.strip(''''"'''))}, lp
|
||||
|
|
Loading…
Add table
Reference in a new issue