Add ps1-server.sh

This commit is contained in:
Zakary Timson 2023-08-03 00:33:54 +00:00
parent de23450fb5
commit 34b778920c

7
ps1-server.sh Normal file
View File

@ -0,0 +1,7 @@
# 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}\$ "