OSX default to zsh for the shell Changing default shell from zsh to bash on MacOS
~/.bashrc
---
# Load any supplementary scripts
eval "$(/opt/homebrew/bin/brew shellenv)"
set +x
for config in "$HOME"/src/github.com/tomwj/dotfiles/bashrc.d/* ; do
source "$config"
done
unset -v config
It's odd that this seems to "just work" but using the content of the the above in this file doesn't. There's some oddness with how OSX sources bash config now, with the zsh change
~/.bash_profile
[[ -s ~/.bashrc ]] && source ~/.bashrc