diff --git a/fish/functions/reflux.fish b/fish/functions/reflux.fish new file mode 100644 index 0000000..2670ae2 --- /dev/null +++ b/fish/functions/reflux.fish @@ -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