Skip to content

Commit

Permalink
Use { instead of [ when adding EESSI version to PS1
Browse files Browse the repository at this point in the history
  • Loading branch information
pescobar committed Dec 4, 2023
1 parent 953b17d commit 645041c
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]$PS1"
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 645041c

Please sign in to comment.