From 087078a025d636aa9b1a90eed98cbbfe0ad4e1fb Mon Sep 17 00:00:00 2001 From: finga Date: Thu, 12 Nov 2020 13:24:17 +0100 Subject: [PATCH] Print birthdays with cow --- .banner | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.banner b/.banner index 28ab660..bae614c 100644 --- a/.banner +++ b/.banner @@ -1,6 +1,10 @@ # echo shell header +out=$(birthdays) + +if [[ $out ]]; then + cowsay -d -W50 $out +else + cowsay -d -W50 $(fortune) +fi + ddate -echo -birthdays -echo -command cowsay -d $(fortune)