hishtory
hishtory copied to clipboard
Suggest a new feature.
I think hishtory is a really cool program.
However, there are two things that I'm wanted about.
- I want to save only the exit 0 command.
- I want to add additional comments to the saved history and search for those keywords as well. For example, the format of the command is the same, but the value I need to execute depends on what I'm searching for, and it's hard to find the command with the value I want among so many similar items. This will help me find the command with the value I want.
I look forward to improving these two features. Thank you for creating such a useful program.
I can give you a simple advice for the 2nd use-case: just add a comment
If I need to be able to find my command easily whether it's fzf or hishtory I just run it like this:
$ my very long command I want to memorize # some tag info for search
all the things after # will be ignored by bash, but will be searchable
Also, can please elaborate a bit on your first request? Like why don't you want to have non-zero exit code commands saved?