Skip to content

Commit

Permalink
Merge pull request #411 from pescobar/dont-override-ps1
Browse files Browse the repository at this point in the history
Prepend EESSI version to PS1 instead of overriding PS1
  • Loading branch information
trz42 authored Dec 5, 2023
2 parents b67d690 + 30f85b7 commit a9faa77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init/bash
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ source $(dirname "$BASH_SOURCE")/eessi_environment_variables
# only continue if setting EESSI environment variables worked fine
if [ $? -eq 0 ]; then

export PS1="[EESSI $EESSI_VERSION] $ "
export PS1="{EESSI $EESSI_VERSION} $PS1"

# add location of commands provided by compat layer to $PATH;
# see https://github.com/EESSI/software-layer/issues/52
Expand Down

0 comments on commit a9faa77

Please sign in to comment.