~kris/dots

srice

021c9dd69ba66145a888be77bff159c87364054d — Kris Yotam 4 months ago c776188
add feedsync fish function for opml-to-sfeedrc sync
1 files changed, 9 insertions(+), 0 deletions(-)

A .config/fish/functions/feedsync.fish
A .config/fish/functions/feedsync.fish => .config/fish/functions/feedsync.fish +9 -0
@@ 0,0 1,9 @@
function feedsync -d "Sync kris.opml into sfeedrc"
    set -l opml "$HOME/dev/krisyotam.com/public/kris.opml"
    if not test -f $opml
        echo "feedsync: $opml not found" >&2
        return 1
    end
    sfeed_opml_import <$opml >~/.sfeed/sfeedrc
    echo "sfeedrc updated from kris.opml"
end