diff options
| -rw-r--r-- | mesonbuild/mdevenv.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/mdevenv.py b/mesonbuild/mdevenv.py index 766593065..30fca9196 100644 --- a/mesonbuild/mdevenv.py +++ b/mesonbuild/mdevenv.py @@ -250,7 +250,7 @@ def run(options: argparse.Namespace) -> int: with open(os.path.join(tmpdir.name, '.zshrc'), 'w', encoding='utf-8') as zshrc: zshrc.write('[ -e ~/.zshrc ] && . ~/.zshrc\n') if prompt_prefix: - zshrc.write(f'export PROMPT="[{prompt_prefix}] $PROMPT"\n') + zshrc.write(f'export PROMPT="{prompt_prefix} $PROMPT"\n') devenv['ZDOTDIR'] = tmpdir.name if 'DYLD_LIBRARY_PATH' in devenv and macos_sip_enabled(): mlog.warning('macOS System Integrity Protection is enabled: DYLD_LIBRARY_PATH cannot be set in the subshell') |
