Auto Update
This commit is contained in:
parent
d3a792b61b
commit
55e148f100
1 changed files with 3 additions and 3 deletions
6
setup.sh
6
setup.sh
|
@ -13,19 +13,19 @@ cp .profile /root
|
||||||
ln ./nanorc /etc/nanorc
|
ln ./nanorc /etc/nanorc
|
||||||
|
|
||||||
# changes PS1 prompts
|
# changes PS1 prompts
|
||||||
SERV_COLOR=""
|
SERV_COLOR="01;32m"
|
||||||
source ./setenv.sh
|
source ./setenv.sh
|
||||||
|
|
||||||
## root PS1
|
## root PS1
|
||||||
RED="01;31m"
|
RED="01;31m"
|
||||||
cat << EOF >> /root/.PS1
|
cat << EOF >> /root/.PS1
|
||||||
PS1='\[\033[$RED\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]$ '
|
PS1='\[\033[$RED\]\u\[\033[$SERV_COLOR\]@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]$ '
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
## user PS1
|
## user PS1
|
||||||
GREEN="01;32m"
|
GREEN="01;32m"
|
||||||
cat << EOF >> ../../.PS1
|
cat << EOF >> ../../.PS1
|
||||||
PS1='\[\033[$GREEN\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]$ '
|
PS1='\[\033[$GREEN\]\u\[\033[$SERV_COLOR\]@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]$ '
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
if [ -f ../../.env ] ; then
|
if [ -f ../../.env ] ; then
|
||||||
|
|
Loading…
Reference in a new issue