10 lines
202 B
Bash
10 lines
202 B
Bash
TODELETE="$(command ls --almost-all ~/git/dotfiles/files)"
|
|
|
|
if [ -d ~/git/dotfiles ] ; then
|
|
bash ~/git/dotfiles/pull.sh
|
|
(cd ~ ; rm $TODELETE)
|
|
(cd ~/git/dotfiles
|
|
ln ./files/* ../../)
|
|
fi
|
|
|
|
. ~/.bashrc
|