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