11 lines
331 B
Bash
11 lines
331 B
Bash
if [ -d ~/git/dotfiles ] ; then
|
|
TODELETE="$(command ls --almost-all ~/git/dotfiles/files)"
|
|
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 ./$f ../../ ; fi; done)
|
|
fi
|
|
|
|
export POKE=true
|
|
|
|
[[ -f ~/.bashrc ]] && . ~/.bashrc
|