diff options
Diffstat (limited to 'etc/functions')
-rwxr-xr-x | etc/functions/newsbeuter | 12 |
1 files changed, 12 insertions, 0 deletions
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 |