about summary refs log tree commit diff stats
path: root/sfeed_unsubscribe.sh
diff options
context:
space:
mode:
authorCase Duckworth2022-07-19 13:09:54 -0500
committerCase Duckworth2022-07-19 13:09:54 -0500
commitb58a56ddac19ba659edc5dc62958103471f52a24 (patch)
treeb543077fb5bc76890630aaaef4099171bfbc545b /sfeed_unsubscribe.sh
parentAdd unsubscribe functionality (diff)
downloadsfeed-b58a56ddac19ba659edc5dc62958103471f52a24.tar.gz
sfeed-b58a56ddac19ba659edc5dc62958103471f52a24.zip
Fix typo
Diffstat (limited to 'sfeed_unsubscribe.sh')
-rwxr-xr-xsfeed_unsubscribe.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/sfeed_unsubscribe.sh b/sfeed_unsubscribe.sh new file mode 100755 index 0000000..eec81ce --- /dev/null +++ b/sfeed_unsubscribe.sh
@@ -0,0 +1,12 @@
1#!/bin/sh
2
3rmfeed() {
4 feed="$(echo "$1" | tr '/' '_')"
5 rm "${sfeedpath}/${feed}"
6}
7
8alias feed=rmfeed
9
10. "$1"
11
12unsubscribe_feeds