Some interesting results that i wanted to share [Dynamic Stream input to fzf] #2761
rayiik
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey all, So I stumbled across a bash feature that's new, as of 4.0. It is marked as a shell reserved word. What it does is it forks the command following it to the background and populates a 2 element array the first element is stander input to the command in the sub-shell and the second is the standard output. This process is also fully subject to jobspec and manipulation.
So id love to hear some ideals about what this could be used for (im thinking looping the system feeding selections from a bind command back into fzf, or dynamic interactive rg).
Beta Was this translation helpful? Give feedback.
All reactions