Auto Update

This commit is contained in:
matt1432 2023-02-01 01:49:42 -05:00
parent ea367300a8
commit c4b9f94a5a
3 changed files with 8 additions and 3 deletions

View file

@ -64,8 +64,8 @@ if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH:$HOME/.local/bin"
fi
if [ -f ~/.bash-fzfrc ] ; then
. ~/.bash-fzfrc
if [ -f ~/git/dotfiles/.bash_fzf ] ; then
. ~/git/dotfiles/.bash_fzf
fi
if [ -f ~/.autoheadscale ] ; then

View file

@ -1,9 +1,14 @@
if [ -d ~/git/dotfiles ] ; then
bash ~/git/dotfiles/pull.sh
rm ~/.bash-* ~/.bashrc ~/.bash_aliases ~/.profile ~/.colors
rm ~/.bashrc ~/.bash_aliases ~/.profile
(cd ~/git/dotfiles
ln ./.bash* ../../
ln ./.profile ../../)
fi
# TODO remove eventually
if [ -f ~/.bash-fzfrc ] ; then
rm ~/.bash-fzfrc
fi
. ~/.bashrc