1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-11-28 17:42:47 +00:00

fish: make miniflux refresh function

This commit is contained in:
Phantop 2024-06-28 23:09:23 -04:00
parent 2c2d5b9ce9
commit 84ae214ebe

View file

@ -0,0 +1,5 @@
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