Skip to content

Latest commit

 

History

History
53 lines (36 loc) · 1.04 KB

configuration.md

File metadata and controls

53 lines (36 loc) · 1.04 KB

Configuration

Adding hm scripts to the Bash configuration (python package)

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

Adding hm scripts to the Bash configuration (installed from sources)

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>

Home directory for history manager

By default it is ~/.hm. Other home path can be specified at configuration step:

hm-init --home /custom/hm/home/path