1
0
Fork 0
forked from ahurac/dotfiles

Correction : PS1 buggué dans la configuration de bash

This commit is contained in:
Hippolyte Chauvin 2023-10-14 22:02:50 +02:00
parent 4d22f92c76
commit 7cdb673bb4

View file

@ -3,5 +3,5 @@ if [ "$(id -u)" -eq 0 ]; then
ps1_color_2=32
fi
PS1="\\033[0m${ps1_brackets:0:1}\\033[1;${ps1_color_1}m\\u@\\h\\033[0m \\033[1;${ps1_color_2}m\\W\\033[0m${ps1_brackets:1:1}\\$ "
PS1='\[\033[0m\]'"${ps1_brackets:0:1}"'\[\033[1;'"${ps1_color_1}"'m\]\u@\h\[\033[0m\] \[\033[1;'"${ps1_color_2}"'m\]\W\[\033[0m\]'"${ps1_brackets:1:1}"'\$ '