Auto Update
This commit is contained in:
parent
ea367300a8
commit
c4b9f94a5a
3 changed files with 8 additions and 3 deletions
4
.bashrc
4
.bashrc
|
@ -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
|
||||||
|
|
7
.profile
7
.profile
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue