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