dotfiles/run_as_sudo.sh
2022-12-27 19:11:29 -05:00

14 lines
294 B
Bash

rm ../../.bash* /root/.bash* /etc/nanorc
ln ./.bash* /root
ln ./.bash* ../../
rm /root/.bashrc
cp .bashrc /root
cat << EOF >> /root/.bashrc
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;31m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
EOF
. /root/.bashrc
ln ./nanorc /etc/nanorc