My project uses an internal tool on Linux, that uses a file called .spacerc for configuring some environmental variables.
The strange thing is, whenever I start a (non-login interactive) bash shell - whether via PuTTy, or via executing $SHELL, or via a python script executing pty.spawn($SHELL) - it reads in .spacerc and sets the environmental variables as specified in it. (And yes, $SHELL is /bin/bash.)
It appears that .spacerc is read before .bashrc is executed (at least the one in the local user directory).
I can't find any info on line that indicates why bash would automatically read in an arbitrary file called .spacerc.
Why might this be happening?