-
Notifications
You must be signed in to change notification settings - Fork 16
Add capability to update PS1 when loading the EESSI module
#154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
init/modules/EESSI/2023.06.lua
Outdated
|
|
||
| -- change the PS1 if it exists to indicate you have EESSI loaded | ||
| -- (doesn't help with a csh or fish prompt, but we just live with that) | ||
| if os.getenv("EESSI_UPDATE_PS1") then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I protected this so as not to change the current behaviour
…e-layer-scripts into update_prompt_with_module
|
bot: build repo:eessi.io-2025.06-software instance:eessi-bot-deucalion for:arch=aarch64/a64fx |
|
New job on instance
|
|
New job on instance
|
|
bot: build repo:eessi.io-2025.06-software instance:eessi-bot-deucalion for:arch=aarch64/a64fx |
|
New job on instance
|
|
New job on instance
|
| family(family_name) | ||
| end | ||
|
|
||
| -- change the PS1 if it exists to indicate you have EESSI loaded |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will shift this down, and if the PS1 is changed I won't print the load message
With this change you get