I'm on a macOS system. My SHELL
variable says /bin/bash
, but I have Homebrew bash
installed too.
I deleted my .bash_profile
file, and my .bashrc
only sets the PATH
. But now every time I type Command+T to open a new tab in Terminal.app
, something echoes the word foo
just before I'm given my prompt. I grepped around in /etc
and found nothing, but since this is a Mac things might just be arranged differently.
Is there a way to know which config files are being read in when I start up a shell? Where should I look?