You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had an idea to annotate some of my ZSH history with trailing comments to help me find important commands I use often, so the history entry would be something like:
: 1556195037:0;find . -name "*.JPG" | wc -l # count number of pictures
Then I would be able to use fzf through Ctrl+R and start typing "number of pictures" to find my command.
It would be nice to have an option to tell fzf to expand the entry without the trailing comment to avoid clutter. I'm also ok with having a global toggle for it.
Thanks again for this amazing project!
The text was updated successfully, but these errors were encountered:
Makes sense, but I decided not to add more options due to the maintenance burden. (#1492 (comment))
The implementation of the key binding is pretty short and should be straightforward. So consider customizing the function and put it in your .zshrc to override the default implementation.
I had an idea to annotate some of my ZSH history with trailing comments to help me find important commands I use often, so the history entry would be something like:
Then I would be able to use fzf through Ctrl+R and start typing "number of pictures" to find my command.
It would be nice to have an option to tell fzf to expand the entry without the trailing comment to avoid clutter. I'm also ok with having a global toggle for it.
Thanks again for this amazing project!
The text was updated successfully, but these errors were encountered: