diff options
author | Hugues Hiegel <hugues.hiegel@qosmos.com> | 2012-03-20 15:31:22 +0100 |
---|---|---|
committer | Hugues Hiegel <hugues.hiegel@qosmos.com> | 2012-03-20 15:31:22 +0100 |
commit | 6b79a02669d4648bac44626c514e02f1898e05c2 (patch) | |
tree | 50197cf844566f47ce31bb52807e2d6204541162 /02_Functions.zsh | |
parent | 60067df38b00e7b63b40c29209a9309d0d0e748d (diff) |
[Funcs] Preprint : added '-n' parameter
Diffstat (limited to '02_Functions.zsh')
-rw-r--r-- | 02_Functions.zsh | 8 |
1 files changed, 4 insertions, 4 deletions
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/^/ /' } |