summaryrefslogtreecommitdiff
path: root/etc/functions/newsbeuter
blob: 53c9c21e83cc4548b5d5a31452a61d6315b0810b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
## vim:ft=zsh
autoload fdie

function __sync {
	if [[ $HOST != aneurysm ]] {
		unisync unison derf.homelinux.org .newsbeuter || fdie "sync failed"
	}
}

__sync || return 1
command newsbeuter $*
__sync