This commit is contained in:
Jonas Forsberg 2021-11-11 16:29:02 +01:00
parent 3f2d0b1888
commit cb0cd85f59
No known key found for this signature in database
GPG Key ID: F2E9818C70350CC9

View File

@ -13,7 +13,7 @@ function set_bash_prompt () {
local PATH_COLOR="\033[0;37m" local PATH_COLOR="\033[0;37m"
if [[ $LAST_EXIT_STATUS != 0 ]];then if [[ $LAST_EXIT_STATUS != 0 ]];then
EXIT_STATUS="${COLOR_DIVIDER}<\033[1;37m\033[41m${LAST_EXIT_STATUS}${Color_Off}${COLOR_DIVIDER}>" EXIT_STATUS="${COLOR_DIVIDER}[\033[1;37m\033[41m${LAST_EXIT_STATUS}${Color_Off}${COLOR_DIVIDER}]"
fi fi
PS1="\n${COLOR_DIVIDER}┌──(${COLOR_USERNAME}\u${COLOR_USERHOSTAT}@${COLOR_HOSTNAME}\h${COLOR_DIVIDER})─[${PATH_COLOR}\w${COLOR_DIVIDER}]${EXIT_STATUS}" PS1="\n${COLOR_DIVIDER}┌──(${COLOR_USERNAME}\u${COLOR_USERHOSTAT}@${COLOR_HOSTNAME}\h${COLOR_DIVIDER})─[${PATH_COLOR}\w${COLOR_DIVIDER}]${EXIT_STATUS}"