I'm trying to create a profile in gnome-terminal
that doesn't store bash history.
The easiest way to do that is to run export HISTIGNORE="*"
, but there is one problem, gome-terminal
is executing command before running bash, so this variable is being overwritten.
I was thinking about using .profile
or .bashrc
, but I don't want it to execute every time bash starts and I don't know how to determine which profile is being used by gnome-terminal
from within terminal.