From 6b79a02669d4648bac44626c514e02f1898e05c2 Mon Sep 17 00:00:00 2001 From: Hugues Hiegel Date: Tue, 20 Mar 2012 15:31:22 +0100 Subject: [Funcs] Preprint : added '-n' parameter --- 02_Functions.zsh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to '02_Functions.zsh') diff --git a/02_Functions.zsh b/02_Functions.zsh index 78bf7d3..567170a 100644 --- a/02_Functions.zsh +++ b/02_Functions.zsh @@ -41,9 +41,9 @@ when() if [ -s $TODAY_FILE ] then - __preprint "À ne pas manquer" $color[red] ; echo + __preprint "À ne pas manquer" $color[red] cat $TODAY_FILE - __preprint "" $color[red] ; echo + __preprint "" $color[red] echo fi | sed 's/^/ /' } @@ -54,9 +54,9 @@ todo() TODO=${=$(which -p todo | cut -d: -f2)} if [ $($TODO $@ | wc -l) -gt 0 ] then - __preprint "À faire" $color[yellow] && echo + __preprint "À faire" $color[yellow] $TODO $@ --force-colour - __preprint "" $color[yellow] && echo + __preprint "" $color[yellow] echo fi | sed 's/^/ /' } -- cgit v1.2.3