diff --git a/pw_ide/py/pw_ide/settings.py b/pw_ide/py/pw_ide/settings.py index 076f94c802..b173c65f71 100644 --- a/pw_ide/py/pw_ide/settings.py +++ b/pw_ide/py/pw_ide/settings.py @@ -66,9 +66,9 @@ class SupportedEditor(enum.Enum): 'working_dir': _DEFAULT_WORKSPACE_ROOT / PW_IDE_DIR_NAME, } -_DEFAULT_PROJECT_FILE = Path('$PW_PROJECT_ROOT/.pw_ide.yaml') -_DEFAULT_PROJECT_USER_FILE = Path('$PW_PROJECT_ROOT/.pw_ide.user.yaml') -_DEFAULT_USER_FILE = Path('$HOME/.pw_ide.yaml') +_DEFAULT_PROJECT_FILE = PW_PROJECT_ROOT / '.pw_ide.yaml' +_DEFAULT_PROJECT_USER_FILE = PW_PROJECT_ROOT / '.pw_ide.user.yaml' +_DEFAULT_USER_FILE = Path.home() / '.pw_ide.yaml' def _expand_any_vars(input_path: Path) -> Path: