I\'d like to save the current directory where the each command was issued alongside the command in the history. In order not to mess things up, I was thinking about adding
For those who want this in zsh I've modified Jeet Sukumaran's implementation and percol to allow interactive keyword searching and extraction of either the command or path it was executed in. It's also possible to filter out duplicate commands and hide fields (date, command, path)