all repos

dotfiles @ 53bc89e04a6108bba0ac688a7c8dbc47b9865b85

i use rach linux btw

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

Olexandr Smirnov Olexandr Smirnov
olexsmir@gmail.com
fish: add some helper functions, 10 months ago
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