mark user.qmk_home as a config_file option (#53)

This commit is contained in:
Zach White
2021-05-24 23:15:13 -07:00
committed by GitHub
parent 066a865084
commit e447fb4252
+1
View File
@@ -87,6 +87,7 @@ def setup(cli):
# Offer to set `user.qmk_home` for them.
if str(cli.args.home) != os.environ['QMK_HOME'] and yesno(home_prompt):
cli.config['user']['qmk_home'] = str(cli.args.home.absolute())
cli.config_source['user']['qmk_home'] = 'config_file'
cli.write_config_option('user', 'qmk_home')
# Run `qmk doctor` to check the rest of the environment out