Comment 2 for bug 1058515

Revision history for this message
Anish Sane (anishsane) wrote :

>> If I create new terminal using Open Tab or Open Terminal, I get a fresh terminal. This is sometimes what I want but sometimes not.
We can possibly have an array holding names of such variables, which need to be 'exported' to the new tab.
Or, we can have a checkbox in gnome-terminal menus, if we want to inherit variables or not.
Or, we can have 2 separate menu items: "new tab", "new tabs with environment"

Currently, I am using a dirty trick of writing them to a file in /tmp via PROMPT_COMMAND & then reading it via .bashrc. But it is clearly inefficient & error prone.