mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-06 09:20:57 +01:00
fix windows issues?
This commit is contained in:
parent
82fff5c4d6
commit
c1560d62cb
2 changed files with 2 additions and 3 deletions
|
@ -91,9 +91,6 @@ def expand_path(s):
|
||||||
return os.path.expanduser(s)
|
return os.path.expanduser(s)
|
||||||
|
|
||||||
|
|
||||||
WINDOWS_DRIVE_MATCHER = re.compile(r'^\w:')
|
|
||||||
|
|
||||||
|
|
||||||
def reglob(path, parts=None, i=None):
|
def reglob(path, parts=None, i=None):
|
||||||
"""Regular expression-based globbing."""
|
"""Regular expression-based globbing."""
|
||||||
if parts is None:
|
if parts is None:
|
||||||
|
|
|
@ -1204,6 +1204,8 @@ class CommandsCache(Set):
|
||||||
self._cmds_cache = frozenset(allcmds)
|
self._cmds_cache = frozenset(allcmds)
|
||||||
return self._cmds_cache
|
return self._cmds_cache
|
||||||
|
|
||||||
|
WINDOWS_DRIVE_MATCHER = re.compile(r'^\w:')
|
||||||
|
|
||||||
|
|
||||||
def expand_case_matching(s):
|
def expand_case_matching(s):
|
||||||
"""Expands a string to a case insenstive globable string."""
|
"""Expands a string to a case insenstive globable string."""
|
||||||
|
|
Loading…
Add table
Reference in a new issue