Improve output formatting for git todo command

This commit is contained in:
Talia 2021-03-10 10:40:37 +01:00
parent e167dc4a84
commit 411ce6513f
1 changed files with 2 additions and 1 deletions

View File

@ -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