From 411ce6513f0bbfc1b9fa7056a6c8885014b8c933 Mon Sep 17 00:00:00 2001 From: DarkWiiPlayer Date: Wed, 10 Mar 2021 10:40:37 +0100 Subject: [PATCH] Improve output formatting for git todo command --- bin/git-todo | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/git-todo b/bin/git-todo index 3691081..d25b7d2 100755 --- a/bin/git-todo +++ b/bin/git-todo @@ -10,6 +10,7 @@ do if [ -d $root/.git/task ] then echo "→ \033[1;4;33m"$root"\033[0m" - (cd $root; git task 2>/dev/null | head -n -1 | sed -e '3d' ) + (cd $root; git task 2>/dev/null | head -n -2 | sed -e '1d;3d' ) + echo '' fi done