Configuration of the history manager is generated with python script when installed with pip
:
hm-init
To enable hm
in the current session execute:
. ~/.hm/configuration
And modify ~/.bashrc
to enable hm
by default in future sessions:
echo ". ~/.hm/configuration" >> ~/.bashrc
Call hm-db
directly:
hm-db configure
which will output everything to the terminal or to a specified file, for example:
hm-db configure ~/.bashrc
If 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