Added option "--exec CMD"#158
Conversation
| " -0, --read-null Read input delimited by ASCII NUL characters\n" | ||
| " -j, --workers NUM Use NUM workers for searching. (default is # of CPUs)\n" | ||
| " -i, --show-info Show selection info line\n" | ||
| " -x, --exec=PROG Execute prog on selection. Don't exit.\n" |
There was a problem hiding this comment.
The indentation is different here, than in the surrounding lines
There was a problem hiding this comment.
Sorry, ;) I literally didn't see it. Fixed it, and trying to push it again.
|
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. |
|
Ah thanks, I understand now |
|
:-? just for the record, the 'acceptance check' has necessarily to fail, |
|
just came across this and was curious would be needed to merge this? |
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