7 lines
219 B
Fish
7 lines
219 B
Fish
# vim: ft=fish ts=4 sw=4 noet
|
|
function fbatch
|
|
command ps -u $USER -o "pid,ppid,etime,ni,sched,policy,stat,tname,cmd" | command fzf -m | while read -l pid _
|
|
set pids $pids $pid
|
|
end
|
|
command schedtool -B -- $pids
|
|
end
|