all repos

dotfiles @ 6016e1fb7a4e3a76391f024ac76e170e33bf4a99

i use rach linux btw

dotfiles/config/fish/functions/pkill.fish (view raw)

1
function pkill -d "Wrapper around pkill to use fuzzy finder when no argument given"
2
  if test (count $argv) -eq 0
3
    ps ax -o user=,pid=,%cpu=,%mem=,stat=,time=,command= | fzf | awk '{print $2}' | xargs kill
4
  else
5
    command pkill $argv
6
  end
7
end