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