Terminal windows settings reset only if in a non-login shell