Close fzf
#4303
Replies: 2 comments
-
I think you can use # This will kill itself in 5 seconds
fzf --bind 'start:execute-silent:(sleep 5; kill $PPID) &' |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks for the replie, but it's not exacly what i want to achieve, i want a kill on conditions, Gonna start of this base and see if i can come with something good |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hello
I have a little part of the script i launch on the background
This can take some time (400 ms on my machine) so for make my little script seems more responsible i launch it on background and just after launch fzf with all the rest of my script.
but if the test fail, i close fzf with a little message
The issue here is that, the user can have only one fzf menu open, or the script gonna kill one underdermined, and i can't now wich one.
So i thinking i launching fzf with a custom name,
pgrep
this name and, kill it.Beta Was this translation helpful? Give feedback.
All reactions