dotfiles/fish/.config/fish/functions/pk.fish

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

5 lines
132 B
Fish
Raw Normal View History

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