mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-05 17:00:58 +01:00
fix
This commit is contained in:
parent
3d183a6330
commit
7e0d763e76
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ class CommandsCache(cabc.Mapping):
|
|||
ret = list()
|
||||
for e in p:
|
||||
rpe = os.path.realpath(e)
|
||||
e = e if len(e).lower() == rpe.lower() else rpe
|
||||
e = e if e.lower() == rpe.lower() else rpe
|
||||
if e not in ret:
|
||||
ret.append(e)
|
||||
return ret
|
||||
|
|
Loading…
Add table
Reference in a new issue