-
I've been using fzf to build a git branch script. One feature is that while viewing a list of branches in fzf, you can press the right arrow to jump into a commit view for that branch. This works by using Now I want to add additional things to the commit view, like binding ctrl-c to copy the sha. In this case I'd like to exit the script completely, bypassing the original fzf process. I can't figure out a way to do this from fzf directly. It seems to ignore exit codes from the Is there a way to do this without completely restructuring my script? I can switch to using |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
You can start fzf with |
Beta Was this translation helpful? Give feedback.
-
Thanks! I got something working using |
Beta Was this translation helpful? Give feedback.
You can start fzf with
--listen
and sendabort
action to the server listening on$FZF_PORT
via POST request.