2
0
Fork 0

/etc/skel/.bashrc: fix color issues

main
Ducky 2022-01-25 10:20:46 +00:00
parent 7a022412d0
commit 379555e1c3
1 changed files with 3 additions and 3 deletions

View File

@ -26,7 +26,7 @@ function color() {
[[ -z $style ]] && style="0"
if [[ -z $code ]]; then
echo "\033[00m"
echo "\033[0m"
else
echo "\033[0${style};${code}m"
fi
@ -89,7 +89,7 @@ fi
# Sexy prompt
if [ "$color_prompt" = yes ]; then
PS1="\[$(color 32 1)\]\h$(color 37):$(color 32 1)\W$(color 37) $(color $(get_caret_color))$(color) "
PS1="\[$(color 32 1)\]\h\[$(color 37)\]:\[$(color 32 1)\]\W\[$(color 37)\] \[$(color $(get_caret_color))\]\[$(color)\] "
else
PS1="\h:\W > "
fi