3 ms·
I do something similar but much, much simpler with a 4-line `precmd` [1] in my .zshrc file. It just records timestamp, directory and command to a file per day.
by Fileformat 4y ago
I do something similar but much, much simpler with a 4-line `precmd` [1] in my .zshrc file. It just records timestamp, directory and command to a file per day. Then you can use standard grep & standard tools to find things.
[1] https://til.marcuse.info/bash/bash-infinite-history.html https://til.marcuse.info/bash/bash-infinite-history.html