O arquivo de histórico é definido usando a variável HISTFILE
. De man bash
:
HISTFILE
The name of the file in which command history is saved (see
HISTORY below). The default value is ~/.bash_history. If
unset, the command history is not saved when a shell exits.
Você pode tentar:
gnome-terminal -e 'bash -c "export HISTFILE=~/test.hist; exec bash"'