> [...] it is difficult to search them from shell history. There are many similar commands, but they are all different.
I think there's a much simpler way to go about this. Just add a snippet by typing it in your shell followed by an echo command, e.g.:
ls -rt; echo "List all files reverse-sorted by date"
Then the problem remains to search your shell history, but there are many solutions for that already. And the good part is (besides not needing another tool) that you can search the same way for commands that were not labeled with a description.
I think there's a much simpler way to go about this. Just add a snippet by typing it in your shell followed by an echo command, e.g.:
Then the problem remains to search your shell history, but there are many solutions for that already. And the good part is (besides not needing another tool) that you can search the same way for commands that were not labeled with a description.