Configuration of the history manager is generated with python script when installed with pip:
hm-initTo enable hm in the current session execute:
. ~/.hm/configurationAnd modify ~/.bashrc to enable hm by default in future sessions:
echo ". ~/.hm/configuration" >> ~/.bashrcCall hm-db directly:
hm-db configurewhich will output everything to the terminal or to a specified file, for example:
hm-db configure ~/.bashrcIf it's not convenient to use ~/.bashrc directly the configuration scripts can be placed to an arbitrary file:
hm-db configure <filename>and add the following line to the ~/.bashrc:
. <filename>By default it is ~/.hm. Other home path can be specified at configuration step:
hm-init --home /custom/hm/home/path