We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c71427e commit aa8a19cCopy full SHA for aa8a19c
1 file changed
init/modules/EESSI/2023.06.lua
@@ -222,6 +222,7 @@ local quiet_load = false
222
if os.getenv("EESSI_MODULE_UPDATE_PS1") then
223
local prompt = os.getenv("PS1")
224
if prompt then
225
+ local prefix = "{EESSI/" .. eessi_version .. "} "
226
if mode() == "load" then
227
-- Prepend prefix to PS1 without evaluating its contents
228
execute{cmd="PS1='" .. prefix .. "'\"$PS1\"", modeA={"load"}}
0 commit comments