Separate batch and interactive shell.
Use separate batch and interactive shell files.