1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-11-26 00:33:22 +00:00
dotfiles/fish/functions/reflux.fish

6 lines
204 B
Fish
Raw Normal View History

2024-06-29 03:09:23 +00:00
function reflux
for i in (curlflux "$argv"feeds | jq -rc '.[] | select(.parsing_error_count!=0)')
eval curl "$(cat ~/.config/miniflux)/feeds/$(echo $i | jq -r .id)/refresh" -X PUT
end
end