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

12 lines
389 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
[ -x "$(command -v pokemon-colorscripts)" ] &&
pokemon-colorscripts -r 1-5