Auto git pull
This commit is contained in:
parent
a860bf883e
commit
0c40d8618c
2 changed files with 8 additions and 2 deletions
6
.bashrc
6
.bashrc
|
@ -113,5 +113,7 @@ fi
|
||||||
if [ -f ~/.bash-fzfrc ] ; then
|
if [ -f ~/.bash-fzfrc ] ; then
|
||||||
. ~/.bash-fzfrc
|
. ~/.bash-fzfrc
|
||||||
fi
|
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
|
||||||
|
|
|
@ -2,6 +2,10 @@ rm ../../.bash* /root/.bash*
|
||||||
|
|
||||||
ln ./.bash* /root
|
ln ./.bash* /root
|
||||||
ln ./.bash* ../../
|
ln ./.bash* ../../
|
||||||
|
|
||||||
|
rm /root/.bashrc
|
||||||
|
cp .bashrc /root
|
||||||
|
|
||||||
export TERM=xterm-color
|
export TERM=xterm-color
|
||||||
|
|
||||||
cat << EOF >> /root/.bashrc
|
cat << EOF >> /root/.bashrc
|
||||||
|
|
Loading…
Reference in a new issue