Add ps1-server.sh
This commit is contained in:
parent
de23450fb5
commit
34b778920c
7
ps1-server.sh
Normal file
7
ps1-server.sh
Normal 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}\$ "
|
Loading…
Reference in New Issue
Block a user