refining themes

This commit is contained in:
fatalerrors
2026-04-15 16:53:33 +02:00
parent d60a93814b
commit d7a0e2c5f5
6 changed files with 17 additions and 17 deletions

View File

@@ -308,9 +308,9 @@ set_prompt()
# If root, print the host in root colour. Otherwise use user colour.
if [[ $EUID -eq 0 ]]; then
PS1+="\[${_root_fg}${_bar_bg}\]\\u\[${_user_fg}${_bar_bg}\]@\\h"
PS1+="\[${_root_fg}${_bar_bg}\] \\u\[${_user_fg}${_bar_bg}\]@\\h"
else
PS1+="\[${_user_fg}${_bar_bg}\]\\u@\\h"
PS1+="\[${_user_fg}${_bar_bg}\] \\u@\\h"
fi
PS1+="\[\e[K\e[u\]\[$RESETCOL\]\n"
# Print the working directory and prompt marker, then reset colour.