diff --git a/containers/jug/setup_detectors.py b/containers/jug/setup_detectors.py
index d26648cce7460149bbfa719ed935bd33751508e3..a12e78e838a4642ca5c64e3796e7feda5f15721b 100755
--- a/containers/jug/setup_detectors.py
+++ b/containers/jug/setup_detectors.py
@@ -21,6 +21,7 @@ export JUGGLER_BEAMLINE_CONFIG_VERSION=$BEAMLINE_CONFIG_VERSION
 export JUGGLER_INSTALL_PREFIX=/usr/local
 
 ## modify PS1 for this detector version
+export PS1="${{PS1}}"
 export PS1="{branch}${{PS1_SIGIL}}>${{PS1#*>}}"
 unset branch
 '''