strom/fish-misc
Archived
1
0
Fork 0
This repository has been archived on 2023-08-27. You can view files and clone it, but cannot push or open issues or pull requests.
fish-misc/functions/fsched.fish

7 lines
235 B
Fish

# vim: ft=fish ts=4 sw=4 noet
function fsched
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
eval schedtool (string escape -- $argv) $pids
end