dotfiles/files/.profile
2023-05-05 18:54:53 -04:00

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
[[ -f ~/.bashrc ]] && . ~/.bashrc
export POKE=true