rm ../../.bash* ../../.profile /root/.bash* /etc/nanorc ln ./.bash* /root ln ./.bash* ../../ ln ./.profile ../../ rm /root/.bashrc /root/.profile cp .bashrc /root cp .profile /root cat << EOF >> /root/.bashrc PS1='${debian_chroot:+($debian_chroot)}\[\033[01;31m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' EOF ln ./nanorc /etc/nanorc if [ "$1" != "" ] ; then rm /etc/sudoers.d/user echo "$1 ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers.d/user fi echo "Install fzf, log out and log back in"