dotfiles/files/.profile
2023-02-04 01:09:29 -05:00

10 lines
241 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
ln ./files/.* ../../)
fi
. ~/.bashrc