1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-12-25 14:46:42 +00:00
dotfiles/fish/functions/reflux.fish

6 lines
204 B
Fish

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