-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Open
Milestone
Description
It would be nice to set the IPython profile with an environment variable, i.e. something like
$ IPYTHON_PROFILE=testing ipython
Python 3.7.4 (default, Aug 13 2019, 20:35:49)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.7.0 -- An enhanced Interactive Python. Type '?' for help.
IPython profile: testing
In [1]:
My particular use case is to use the conda {de,}activate.d/ hooks to change profiles based on which conda environment is active. At the moment, an easy hack is to alias ipython to ipython --profile={profile} and then unalias in deactivate, but environment variables would be cleaner.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels