forked from ahurac/dotfiles
Correction : backslash pour autoriser l'interprétation du $ dans le PS1
This commit is contained in:
parent
231211b7c4
commit
02c351baa7
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ if [ "$(id -u)" -eq 0 ]; then
|
||||||
ps1_color_2=32
|
ps1_color_2=32
|
||||||
fi
|
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}\\$ "
|
||||||
|
|
||||||
shrc_d=/usr/local/etc/sh/shrc.d
|
shrc_d=/usr/local/etc/sh/shrc.d
|
||||||
if [ -d "$shrc_d" ]; then
|
if [ -d "$shrc_d" ]; then
|
||||||
|
|
Loading…
Reference in a new issue