2023-10-13 09:24:44 +02:00
|
|
|
if [ "$(id -u)" -eq 0 ]; then
|
|
|
|
ps1_color_1=31
|
|
|
|
ps1_color_2=32
|
|
|
|
fi
|
|
|
|
|
2023-10-13 09:33:12 +02:00
|
|
|
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}\\$ "
|
2023-10-13 09:24:44 +02:00
|
|
|
|
|
|
|
shrc_d=/usr/local/etc/sh/shrc.d
|
|
|
|
if [ -d "$shrc_d" ]; then
|
|
|
|
for i in "${shrc_d}/"*; do
|
|
|
|
. "$i"
|
|
|
|
done
|
|
|
|
fi
|
|
|
|
|