4 lines
132 B
Fish
4 lines
132 B
Fish
function pk --description 'Fuzzy find a process to kill'
|
|
set proc (ps -ef | fzf | awk '{print $2}')
|
|
kill -SIGKILL $proc
|
|
end
|