# Source shared environment directly (failsafe)
if [ -f ~/.shell_env ]; then
    source ~/.shell_env
fi

# Source .bashrc for additional bash-specific settings
if [ -f ~/.bashrc ]; then
    source ~/.bashrc
fi

# Show MOTD only for interactive login shells (skip for Claude Code, scripts, etc.)
# Check: stdin is a terminal AND stdout is a terminal
if [ -t 0 ] && [ -t 1 ] && [ -f /etc/motd ]; then
    cat /etc/motd
fi