all repos

dotfiles @ fa061e6d55708ec149a161d79f2f0532a1fbae66

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