.
This commit is contained in:
parent
3f2d0b1888
commit
cb0cd85f59
2
.ps1.sh
2
.ps1.sh
@ -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}"
|
||||||
|
Loading…
Reference in New Issue
Block a user