Using PROMPT_COMMAND to log every command in a separate timestamped log file. This allows you to use a much better format than bash history has to be in.
Easily readable to see what you've been doing and extremly efficient to grep for.
Has been discussed on HN before: https://news.ycombinator.com/item?id=11806553
Using PROMPT_COMMAND to log every command in a separate timestamped log file. This allows you to use a much better format than bash history has to be in.
Easily readable to see what you've been doing and extremly efficient to grep for.
Has been discussed on HN before: https://news.ycombinator.com/item?id=11806553