'Find the history file for the given profile name.
This is overridden by the HistoryManager subclass, to use the shell\'s
active profile.
Parameters
profile : str
The name of a profile which has a history file.'

def _get_hist_file_name(self, profile='default'):

    return os.path.join(locate_profile(profile), 'history.sqlite')
