Agreed, I was wanting to do something like that

Bouke


On Thu, Mar 6, 2014 at 2:15 PM, Thomas Kluyver <notifications@github.com>wrote:

> In IPython/core/shellapp.py:
>
> > @@ -358,7 +358,7 @@ def _run_startup_files(self):
> >          """Run files from profile startup directory"""
> >          startup_dir = self.profile_dir.startup_dir
> >          startup_files = []
> > -        if self.exec_PYTHONSTARTUP:
> > +        if self.exec_PYTHONSTARTUP and not self.file_to_run and not self.code_to_run and not self.module_to_run:
>
> Nitpick: I think this would be slightly clearer as not (self.file_to_run
> or self.code_to_run or self.module_to_run), which is logically equivalent.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/ipython/ipython/pull/5226/files#r10355918>
> .
>