Whenever you open the "Window Settings" panel for a Terminal window that was opened to run a specific command and then click the "Use Settings As Default" button, that command runs each time you open a new Terminal window.
To fix this, delete ~/Library/Preferences/com.apple.Terminal.plist
You wouldn't believe how long it took me to find out what was wrong.