@bewuethr exactly! BTW there is even easier way how to configure HSTR:
hstr --show-configuration >> ~/.inputrc && . ~/.inputrc
You can run just hstr --show-configuration to check what will be appended