Open aca opened 2 years ago
+1, I've been wanting to limit my history to certain paths (i.e. when I run my history function I want to see commands from a certain set of paths only that belong to my project). If that information was found in the database I wouldn't have to build my own tracking.
Seems like a duplicate of #650 and #675.
Currently command is stored as simple key(index) / command string pair
I think I'll just wait for #1222 just to be able to add columns in cmd table.
Currently elvish store only "commands" in boltdb. It's quite useful if we have more information about executed command. For example, I wrote fuzzy finder for command history with time information.
As elvish use proper database (which is not in other shells), It would be great if we add additional metadatas like time, pwd.