summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/spack/spack/environment/shell.py2
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"