]> git.rmz.io Git - dotfiles.git/blob - zsh/lib/motd.zsh
a1fd32b80c73e647320827a08d8751ac3ea5eca3
[dotfiles.git] / zsh / lib / motd.zsh
1 autoload colors; colors;
2
3 short()
4 {
5 print "$fg_bold[white]$1$reset_color $2"
6 }
7
8 msg()
9 {
10 print "$fg_bold[white]$1$reset_color\n$2\n"
11 }
12
13 if [[ -d ~/org ]]; then
14 # 44 seems to be the number of color escape characters used by grep
15 todo | cut -c-$((COLUMNS + 44))
16 fi