diff --git a/eventually/cmdline.py b/eventually/cmdline.py index a66aa26..9bacdc6 100644 --- a/eventually/cmdline.py +++ b/eventually/cmdline.py @@ -19,8 +19,8 @@ def get_config(base_dir): def _normalize_path(normalize_me, paths): # First, extract the path out of the paths config. extracted = paths.get('paths', normalize_me) - # Then, os.path.expanduser() it. - return os.path.expanduser(extracted) + # Then, os.path.expanduser() and os.path.expandvars() it. + return os.path.expandvars(os.path.expanduser(extracted)) def run_metric(program, cwd):