8 lines
310 B
Bash
8 lines
310 B
Bash
|
# Custom prompt
|
||
|
LINES="\[\e[36m\]" # Cyan
|
||
|
[ $EUID == 0 ] && LINES="\[\e[91m\]" # Red
|
||
|
USERHOST="\[\e[33m\]" # Yellow
|
||
|
DIRECTORY="\[\e[97m\]" # White
|
||
|
ENDCOLOR="\[\e[m\]" # Clear
|
||
|
PS1="${LINES}╭──(${USERHOST}\u${LINES}@${USERHOST}\h${LINES})-[${DIRECTORY}\w${LINES}]${ENDCOLOR}\n${LINES}╰─${ENDCOLOR}\$ "
|