Auto git pull

This commit is contained in:
matt1432 2022-12-17 12:42:26 -05:00
parent a860bf883e
commit 0c40d8618c
2 changed files with 8 additions and 2 deletions

View file

@ -113,5 +113,7 @@ 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\]$ '
if [ -f ~/git/dotfiles ] ; then
(cd ~/git/dotfiles && git pull)
fi

View file

@ -2,6 +2,10 @@ rm ../../.bash* /root/.bash*
ln ./.bash* /root
ln ./.bash* ../../
rm /root/.bashrc
cp .bashrc /root
export TERM=xterm-color
cat << EOF >> /root/.bashrc