Show More
@@ -85,9 +85,8 b' def rccomponents():' | |||||
85 | continue |
|
85 | continue | |
86 | _rccomponents.extend(('path', p) for p in _expandrcpath(p)) |
|
86 | _rccomponents.extend(('path', p) for p in _expandrcpath(p)) | |
87 | else: |
|
87 | else: | |
88 | paths = defaultrcpath() + systemrcpath() |
|
88 | normpaths = lambda paths: [('path', os.path.normpath(p)) for p in paths] | |
89 | _rccomponents = [('path', os.path.normpath(p)) for p in paths] |
|
89 | _rccomponents = normpaths(defaultrcpath() + systemrcpath()) | |
90 | _rccomponents.append(envrc) |
|
90 | _rccomponents.append(envrc) | |
91 |
|
|
91 | _rccomponents.extend(normpaths(userrcpath())) | |
92 | _rccomponents.extend(('path', os.path.normpath(p)) for p in paths) |
|
|||
93 | return _rccomponents |
|
92 | return _rccomponents |
General Comments 0
You need to be logged in to leave comments.
Login now