mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-02-01 23:34:03 +01:00
bashrc: If zshrc is thanking nyuszika7h about colours, bashrc is thanking him too.
This commit is contained in:
parent
dab65be727
commit
41bfca86d3
1
bashrc
1
bashrc
@ -67,6 +67,7 @@ else
|
|||||||
fi
|
fi
|
||||||
unset color_prompt force_color_prompt
|
unset color_prompt force_color_prompt
|
||||||
|
|
||||||
|
# Red colour for root, thanks nyuszika7h :D
|
||||||
# check if we're root
|
# check if we're root
|
||||||
if [[ $EUID == 0 ]]; then
|
if [[ $EUID == 0 ]]; then
|
||||||
PS1='\033[1;31m\u@\h:\w\$\033[0m '
|
PS1='\033[1;31m\u@\h:\w\$\033[0m '
|
||||||
|
Loading…
Reference in New Issue
Block a user