-
-
Notifications
You must be signed in to change notification settings - Fork 159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kill all #21
Comments
When running // @coffeedoughnuts |
It does. I was talking about interactive mode. Should've clarified this. After thinking about this more, I believe that you're precisely right.
That leaves: how could one signal to kill all processes by the same selected name. If I'm searching for a process to kill and more than one result of the same process come up, in most cases I can dream up I'd like to kill all of them. I can think of few scenarios where you'd only want to kill one of them. Your suggestion of a adding a modifier key is the best UI design with which I can come up. Maybe turning it into a checkbox list on Space (<- that took me a while 😅 ) is also worth considering. Here's the kicker, since |
Yes. Let's keep it open for a while and see what others think. |
I've had a personal fish version of this command for years that works quite similarly, with progressive narrowing of options using fuzzy-searching of the whole command string with args. It also supports the cli option |
Thanks |
@IssueHunt has funded $40.00 to this issue. See it on IssueHunt |
@sindresorhus What exactly do we want to do here? Use pkill inside fkill for part of the cases? |
@stroncium I would say let's start with figuring out what the value is for the user here. That should be both simpler and more valuable than working backwards from how I wanted to make some suggestions but the more I think about it the less I can imagine how this could be helpful 😅 . Indeed pressing option, showing a warning we're about to kill everything by that name, and maybe how many processes that is sounds the most helpful to me. However, I'd much prefer for someone that finds this issue to explain what they'd like fkill-cli to do. Like I mentioned two years ago I lost my use-case when Sindre explained fkill can already kill by process name i.e. |
I currently have to run fkill about 5 times when I search for python. It would be nice if I could somehow request either:
Kill all exact matches
Kill all visible, suggested processes on my screen
Do others have a need for this? (:thumbsup:)
Maintainers interested in a PR?
The text was updated successfully, but these errors were encountered: