Just my own shell config.
# 1. Clone or update the repo.
mkdir -p ~/src
[ -d~/src/bashrc ] && git -C ~/src/bashrc pull || git clone https://github.com/fotinakis/bashrc.git ~/src/bashrc
# 2. Point every shell startup file at it, skipping any that already are.
LINE='source ~/src/bashrc/init.sh'forfin~/.bashrc ~/.bash_profile ~/.zshrc;do
touch "$f"
grep -qxF "$LINE""$f"||printf'\n%s\n'"$LINE">>"$f"doneThen exec $SHELL (or open a new terminal).