gnome-terminator / terminator

multiple GNOME terminals in one window
https://gnome-terminator.org
GNU General Public License v2.0
2.14k stars 259 forks source link

[Feature Request] Save also current python virtual environment in config file with SaveUserSessionLayout plugin #879

Open markdoerr opened 10 months ago

markdoerr commented 10 months ago

Is your feature request related to a problem? Please describe. Currently in the "SaveUserSessionLayout" (PR #878 ) only the current directory is stored in the config file. It would be nice to also add the current active virtual environments - and restore them later on (maybe through the 'command' attribute in the config file.

Describe the solution you'd like If a terminal is using a virtual environment, also save it to the session config file. Use this config information to re-activate the virtual environment on session restore.