Make the environment a setting
This would allow other rules to set the environment as needed for `@git_support` and `GIT_TRACE`.
This commit is contained in:
+2
-1
@@ -30,7 +30,8 @@ DEFAULT_SETTINGS = {'rules': DEFAULT_RULES,
|
||||
'require_confirmation': False,
|
||||
'no_colors': False,
|
||||
'debug': False,
|
||||
'priority': {}}
|
||||
'priority': {},
|
||||
'env': {'LANG': 'C', 'GIT_TRACE': '1'}}
|
||||
|
||||
ENV_TO_ATTR = {'THEFUCK_RULES': 'rules',
|
||||
'THEFUCK_WAIT_COMMAND': 'wait_command',
|
||||
|
||||
Reference in New Issue
Block a user