fzy
fzy copied to clipboard
Added option "--exec CMD"
For a documentation browser (https://github.com/michael105/libc-manpages)
I added the option to execute commands from within fzy.
imho, would be great to include that mainline.
best wishes,Michael
Hi, thanks for your PR.
This feature seems relatively unnecessary to me, since I think it could easily be implemented in a wrapper script.
Hi, thanks for your PR.
This feature seems relatively unnecessary to me, since I think it could easily be implemented in a wrapper script.
That would do something different; what I added doesn't exit fzy, instead it spawns the command, waits for the program to exit and returns to exactly the same state before launching the external tool. It's quite handy for e.g. the manual browser I did put online. Look for a manpage, launch man, go back and compare e.g. the posix manual page with the freebsd's one. There might be other usecases, like a directory browser, andsoon.. Thanks for this wonderful tool btw. Best wishes, Michael
Ah thanks, I understand now
:-? just for the record, the 'acceptance check' has necessarily to fail, since the output of the help screen is compared between old and patched version. There I added the explanation of the option --exec, so, this cannot work out..