hm
hm copied to clipboard
plugged to zsh, hm -d fails.
I installed hm-1.0.0 from provided nix expression (had to change the hash). Then I configured it with hm-db configure ~/.hmrc. Then sourced it from my ~/.zshrc.
For some strange reason, hm -d
fails with the following message:
% hm -d
Loading 0 commands from the temporary file /home/dvyal/.hm/history.tmp
[========================================================================================================================] -2147Error: failed to parse arguments
hm-db <dbfile> session [<sname>]
hm-db <dbfile> add <sess_id> <datetime> <cwd> <cmd> <rc>
hm-db <dbfile> parse <file> <separator>
hm-db <dbfile> select <sess_id> [-d [<path>]] [-R] [-s [<sname>]]
hm-db <dbfile> info <sess_id>
hm-db -v
hm-db -h
hm-db configure [<file>] [--home <path>]