summaryrefslogtreecommitdiff
path: root/etc/functions/newsbeuter
blob: 696cd392c0f3d9a4b825a4794abf11e9a7790718 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
## vim:ft=zsh
## wrapper around newsbeuter to keep the feeds in sync

function __sync {
	if [[ ${HOST} != aneurysm ]] {
		unisync unison aneurysm .config/newsbeuter
	}
}

__sync || return 1
command newsbeuter ${*}
__sync