autoload colors; colors; short() { print "$fg_bold[white]$1$reset_color $2" } msg() { print "$fg_bold[white]$1$reset_color\n$2\n" } # 44 seems to be the number of color escape characters used by grep grep "* TODO" org/* --color=always | cut -c-$((COLUMNS + 44))