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" PATH="$HOME/bin:$PATH:$HOME/.local/bin"
fi fi
if [ -f ~/.bash-fzfrc ] ; then if [ -f ~/git/dotfiles/.bash_fzf ] ; then
. ~/.bash-fzfrc . ~/git/dotfiles/.bash_fzf
fi fi
if [ -f ~/.autoheadscale ] ; then if [ -f ~/.autoheadscale ] ; then

View file

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