Skip to content

Commit aa8a19c

Browse files
committed
define prefix
1 parent c71427e commit aa8a19c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

init/modules/EESSI/2023.06.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ local quiet_load = false
222222
if os.getenv("EESSI_MODULE_UPDATE_PS1") then
223223
local prompt = os.getenv("PS1")
224224
if prompt then
225+
local prefix = "{EESSI/" .. eessi_version .. "} "
225226
if mode() == "load" then
226227
-- Prepend prefix to PS1 without evaluating its contents
227228
execute{cmd="PS1='" .. prefix .. "'\"$PS1\"", modeA={"load"}}

0 commit comments

Comments
 (0)