equal
deleted
inserted
replaced
88 normpaths = lambda paths: [('path', os.path.normpath(p)) for p in paths] |
88 normpaths = lambda paths: [('path', os.path.normpath(p)) for p in paths] |
89 _rccomponents = normpaths(defaultrcpath() + systemrcpath()) |
89 _rccomponents = normpaths(defaultrcpath() + systemrcpath()) |
90 _rccomponents.append(envrc) |
90 _rccomponents.append(envrc) |
91 _rccomponents.extend(normpaths(userrcpath())) |
91 _rccomponents.extend(normpaths(userrcpath())) |
92 return _rccomponents |
92 return _rccomponents |
|
93 |
|
94 def defaultpagerenv(): |
|
95 '''return a dict of default environment variables and their values, |
|
96 intended to be set before starting a pager. |
|
97 ''' |
|
98 return {'LESS': 'FRX', 'LV': '-c'} |