I started using a few channels from the community channels and noticed some like git-branch bind enter to a specific action. I found this very surprising. I frequently use tv for one-off commands where I want to select something. I figured the default action when you select something with tv was to just print the match and that all other actions would have to be opt-in. Instead, this checks out a branch and then the output of that command becomes the output of tv. Is there a workaround? The only thing I can think of is to manually patch out the enter keybinding for channels. I feel like this might be a useful flag, like --no-action but I may be missing a more obvious solution.
I started using a few channels from the community channels and noticed some like
git-branchbindenterto a specific action. I found this very surprising. I frequently use tv for one-off commands where I want to select something. I figured the default action when you select something with tv was to just print the match and that all other actions would have to be opt-in. Instead, this checks out a branch and then the output of that command becomes the output oftv. Is there a workaround? The only thing I can think of is to manually patch out theenterkeybinding for channels. I feel like this might be a useful flag, like--no-actionbut I may be missing a more obvious solution.