Minimal Bash configuration for this macOS account. This repository lives in
$HOME and tracks only .bashrc, .bash_profile, and .git-completion.sh.
Back up any existing shell files, then initialize the repository in your home directory:
mkdir -p "$HOME/dotfiles-backup"
for file in .bashrc .bash_profile .git-completion.sh; do
[[ -e "$HOME/$file" ]] && mv "$HOME/$file" "$HOME/dotfiles-backup/$file"
done
cd "$HOME"
git init
git remote add origin git@github.com:owenniles/macos-local.git
git fetch origin main
git checkout -b main --track origin/main
exec /bin/bash -lThe remote uses SSH; authorize an SSH key with GitHub first.
This configuration integrates with, but does not install or manage:
cd "$HOME"
git pull --ff-only
exec /bin/bash -l