From a860bf883ecb13d8b0f729caf7bb225162a5fe05 Mon Sep 17 00:00:00 2001 From: matt1432 Date: Sat, 17 Dec 2022 12:37:42 -0500 Subject: [PATCH] Auto symlinks --- .bash_profile | 5 ----- .bashrc | 2 ++ run_as_sudo.sh | 5 ++++- 3 files changed, 6 insertions(+), 6 deletions(-) delete mode 100644 .bash_profile diff --git a/.bash_profile b/.bash_profile deleted file mode 100644 index 5545f00..0000000 --- a/.bash_profile +++ /dev/null @@ -1,5 +0,0 @@ -# -# ~/.bash_profile -# - -[[ -f ~/.bashrc ]] && . ~/.bashrc diff --git a/.bashrc b/.bashrc index 26e53a4..31e5817 100644 --- a/.bashrc +++ b/.bashrc @@ -113,3 +113,5 @@ fi if [ -f ~/.bash-fzfrc ] ; then . ~/.bash-fzfrc fi +PS1='\[\033[01;31m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]$ ' +PS1='\[\033[01;31m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]$ ' diff --git a/run_as_sudo.sh b/run_as_sudo.sh index 35f539f..c25a1cf 100644 --- a/run_as_sudo.sh +++ b/run_as_sudo.sh @@ -1,4 +1,7 @@ -cp ./.bash* /root +rm ../../.bash* /root/.bash* + +ln ./.bash* /root +ln ./.bash* ../../ export TERM=xterm-color cat << EOF >> /root/.bashrc