diff options
author | Harmen Stoppels <harmenstoppels@gmail.com> | 2022-01-06 12:59:07 +0100 |
---|---|---|
committer | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2022-04-14 11:08:17 +0200 |
commit | 5b2d7445b817844ccf44ec3e2a77c883cc5edb3e (patch) | |
tree | 01fc13586c0b8ac7d08fe7f398cea33883c8f8a9 /lib | |
parent | e974b44e8673ded449ce4a3ed5844398b68e81a2 (diff) | |
download | spack-5b2d7445b817844ccf44ec3e2a77c883cc5edb3e.tar.gz spack-5b2d7445b817844ccf44ec3e2a77c883cc5edb3e.tar.bz2 spack-5b2d7445b817844ccf44ec3e2a77c883cc5edb3e.tar.xz spack-5b2d7445b817844ccf44ec3e2a77c883cc5edb3e.zip |
Fix double space in prompt after 'spack env activate -p' (#28279)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/environment/shell.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/environment/shell.py b/lib/spack/spack/environment/shell.py index 96b3a8c31c..abc537cdf2 100644 --- a/lib/spack/spack/environment/shell.py +++ b/lib/spack/spack/environment/shell.py @@ -39,7 +39,7 @@ def activate_header(env, shell, prompt=None): # else: if 'color' in os.getenv('TERM', '') and prompt: - prompt = colorize('@G{%s} ' % prompt, color=True) + prompt = colorize('@G{%s}' % prompt, color=True) cmds += 'export SPACK_ENV=%s;\n' % env.path cmds += "alias despacktivate='spack env deactivate';\n" |