# ~/.bash_profile — macOS login shell entry point # Managed via dotfiles repo: http://172.27.0.35:3000/kenjim/dotfiles # ============================================================================= # Load main shell config (which in turn loads .bashrc.d/ and .bashrc.local) [ -f ~/.bashrc ] && source ~/.bashrc # Homebrew environment (Apple Silicon path first, Intel fallback) if [ -x /opt/homebrew/bin/brew ]; then eval "$(/opt/homebrew/bin/brew shellenv)" 2>/dev/null || true elif [ -x /usr/local/bin/brew ]; then eval "$(/usr/local/bin/brew shellenv)" 2>/dev/null || true fi # Bash completion (installed via brew) [[ -r "/opt/homebrew/etc/profile.d/bash_completion.sh" ]] && \ . "/opt/homebrew/etc/profile.d/bash_completion.sh" # iTerm2 shell integration (optional, sourced only if present) test -e "${HOME}/.iterm2_shell_integration.bash" && \ source "${HOME}/.iterm2_shell_integration.bash" || true # Suppress macOS "default shell is now zsh" warning export BASH_SILENCE_DEPRECATION_WARNING=1