We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0432805 commit b6aa04eCopy full SHA for b6aa04e
1 file changed
init/lmod/sh
@@ -98,6 +98,8 @@ if [ -z "$__Init_EESSI_Default_Modules" ]; then
98
# (in an interactive shell PS1 is likely unset, so let's only do this if it is set)
99
if [ -n "$PS1" ]; then
100
if [ "${EESSI_MODULE_UPDATE_PS1-}" = "0" ] ; then
101
+ # For certainty, we now unset it to guarantee it is not picked up by the EESSI module
102
+ # (this guarantees PS1 is not updated, even if it is exported externally to this script)
103
unset EESSI_MODULE_UPDATE_PS1
104
else
105
export EESSI_MODULE_UPDATE_PS1=1
0 commit comments