diff --git a/ps1-server.sh b/ps1-server.sh new file mode 100644 index 0000000..1c42b5d --- /dev/null +++ b/ps1-server.sh @@ -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}\$ "