1
0
Fork 0
forked from ahurac/dotfiles
ahuarc-dotfiles/etc/bash/bashrc.d/50-ps1.bashrc

8 lines
230 B
Text
Raw Normal View History

if [ "$(id -u)" -eq 0 ]; then
ps1_color_1=31
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}"'\$ '