Have a look at Evan Hahn's murder util: https://codeberg.org/EvanHahn/dotfiles/src/commit/843b9ee13d...
Sold on the name alone. It also has the API I never realized I needed
puts 'usage:' puts 'murder 123 # kill by pid' puts 'murder ruby # kill by process name' puts 'murder :3000 # kill by port'
Will check it out
Sold on the name alone. It also has the API I never realized I needed