Incognito/private window/tab
Feature Request
Summary
Same idea as in browsers, allow to open a new window/tab in which the history is automatically cleared (history -c
).
For windows, all tabs opened there must be incognito by default.
There should be settings to configure visual aspects (e.g. colors) to be applied in that mode.
Maybe allow to display a custom text/warning at the beginning.
Maybe allow to execute a specific start command; executed after the one of the regular mode (cf. profile).
Maybe allow to toggle that mode in the current window/tab.
When turning of, the history should be saved and reinitialized (like when opening a new session).
When turning off, the history should be cleared.
Alternatives
Another way would be to allow to configure a command to be executed at the end of a session. BUT that would require to duplicate all our profiles to create an incognito equivalent.
Concerns
Are there other things that should happen during an incognito session? And on start/end?