Update 'run_as_sudo.sh'
This commit is contained in:
parent
b99593c340
commit
56908080ef
1 changed files with 1 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
rm ../../.bash* /root/.bash*
|
rm ../../.bash* /root/.bash* /etc/nanorc
|
||||||
|
|
||||||
ln ./.bash* /root
|
ln ./.bash* /root
|
||||||
ln ./.bash* ../../
|
ln ./.bash* ../../
|
||||||
|
@ -6,8 +6,6 @@ ln ./.bash* ../../
|
||||||
rm /root/.bashrc
|
rm /root/.bashrc
|
||||||
cp .bashrc /root
|
cp .bashrc /root
|
||||||
|
|
||||||
export TERM=xterm-color
|
|
||||||
|
|
||||||
cat << EOF >> /root/.bashrc
|
cat << EOF >> /root/.bashrc
|
||||||
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;31m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
|
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;31m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
|
||||||
EOF
|
EOF
|
||||||
|
|
Loading…
Reference in a new issue