Thanks to Levente Kurusa and Aaron LI, pkill(1) now has a -T option, to limit the killed processes to the current terminal. It’s a minor change, but worth remarking cause if you are killing multiple processes, your muscle memory is going to take over.