Replies: 1 comment
-
The easiest way would be to place your command into a command substitution and then pass it to commandline $(fzf --with-shell 'fish -c' --bind 'start:become:echo $FISH_VERSION') Related Issue: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using fzf to select from a list of commands and run them with
become
. Some commands can't be run on their own and need an argument. I'd like to add a new binding which would end fzf and print the selection to my console input prompt, so I can add the required parameters.Is that something I should do with some existing tooling or could this become part of fzf? I've tried out fish's
commandline
command but it can't run in non-interactive mode and is not portable.Beta Was this translation helpful? Give feedback.
All reactions