hstr
hstr copied to clipboard
cat any-text-file | hh
Filter any file in hh style ~ hh grep.
Is cat-ing to hh supported?
I can't find any documentation for it, nor does it work when I try cat file | hh
Unfortunately it is not supported as I though that there is no use case. Would it be useful for you? Do you want to process your history file OR you have any other idea? Thanks!
These use cases come to mind (they are not related to the shell history):
print_tmux_pane_contents | grep -o "SOME-REGEX" | hh- Something like this to paste some text visible in the current pane on the commend like.vi $(find . | hh)
There exist shell fuzzy finders (like fzf) which accomplish such tasks, but those tools are way too complex for my taste. While on the other hand, hh's interface seems very elegant to me.
Anyway, thank you for this project
Make sense! Increasing bug priority.