]> arthur.barton.de Git - ax-zsh.git/commitdiff
icalbuddy: Don't start with an empty line
authorAlexander Barton <alex@barton.de>
Fri, 31 Jul 2020 17:08:30 +0000 (19:08 +0200)
committerAlexander Barton <alex@barton.de>
Fri, 31 Jul 2020 17:08:30 +0000 (19:08 +0200)
Our "new convention" is that output plugins should end with an empty
line, but not start with one.

plugins/icalbuddy/icalbuddy.ax-io

index ed64d0c4d9855502d1187722ecdf17802262f95f..7c6c6c36b4925a3420f093b59ead90482ac3271b 100644 (file)
@@ -28,10 +28,10 @@ icalBuddy -f -n -b " $bul " -ab " $bul_imp " -ps "/ $sep /" \
        tasksDueBefore:today 2>/dev/null >>"$tmpfile"
 icalBuddy -f -n -b " $bul " -ab " $bul_imp " -ps "/ $sep /" \
        -nc -npn -iep "title,datetime" \
-       eventsToday+1 2>/dev/null  >>"$tmpfile"
+       eventsToday+1 2>/dev/null >>"$tmpfile"
 
 if [[ -s "$tmpfile" ]]; then
-       echo; cat "$tmpfile"; echo
+       cat "$tmpfile"; echo
 fi
 
 rm -f "$tmpfile"