mirror of
https://github.com/gunchev/home_bin.git
synced 2025-11-20 12:15:46 +00:00
Change terminal prompt color to green.
This commit is contained in:
parent
62f9687de6
commit
078f98413b
1 changed files with 5 additions and 2 deletions
|
|
@ -108,10 +108,13 @@ function twtty {
|
|||
local RED="\[\033[0;31m\]"
|
||||
local LIGHT_RED="\[\033[1;31m\]"
|
||||
|
||||
local GREEN="\[\033[0;32m\]"
|
||||
local LIGHT_GREEN="\[\033[1;32m\]"
|
||||
|
||||
if [ "${UID}" -ne "0" ]; then
|
||||
# Normal user colors
|
||||
local C1="${YELLOW}"
|
||||
local C2="${LIGHT_BLUE}"
|
||||
local C1="${GREEN}"
|
||||
local C2="${LIGHT_GREEN}"
|
||||
local C3="${WHITE}"
|
||||
else
|
||||
# root user colors
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue