about summary refs log tree commit diff stats
path: root/sfeed_unsubscribe.sh
blob: 5fb9608d3dd5771daf5b55793096cd8996e183a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

rmfeed() {
	feed="$(echo "$1" | tr '/' '_')"
	rm "${sfeedpath}/${feed}" 2>/dev/null
}

alias feed=rmfeed

. "$1"

unsubscribe_feeds