From 90c76f41d353f589f861f9af9cb80b35dffca74d Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 20 Jan 2009 15:24:38 +0100 Subject: Added newsbeuter wrapper function for synchronization --- etc/functions/newsbeuter | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 etc/functions/newsbeuter (limited to 'etc/functions/newsbeuter') diff --git a/etc/functions/newsbeuter b/etc/functions/newsbeuter new file mode 100755 index 0000000..53c9c21 --- /dev/null +++ b/etc/functions/newsbeuter @@ -0,0 +1,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 -- cgit v1.2.3