Cowsay on OSX

$sudo port install fortune cowsay
! Edit file .bash_profile
! Add lines

rand=`/usr/bin/jot -r 1 1 47`
/opt/local/bin/fortune | /opt/local/bin/cowsay -n -f `ls /opt/local/share/cowsay/cows/|head -$rand|tail -n1`

After open new terminal

Last login: Fri Aug 16 14:44:04 on ttys003
 __________________________________________________________ 
/ The absurd is the essential concept and the first truth. \
\                 -- A. Camus                              /
 ---------------------------------------------------------- 
                       \                    ^    /^
                        \                  / \  // \
                         \   |\___/|      /   \//  .\
                          \  /O  O  \__  /    //  | \ \           *----*
                            /     /  \/_/    //   |  \  \          \   |
                            @___@`    \/_   //    |   \   \         \/\ \
                           0/0/|       \/_ //     |    \    \         \  \
                       0/0/0/0/|        \///      |     \     \       |  |
                    0/0/0/0/0/_|_ /   (  //       |      \     _\     |  /
                 0/0/0/0/0/0/`/,_ _ _/  ) ; -.    |    _ _\.-~       /   /
                             ,-}        _      *-.|.-~-.           .~    ~
            \     \__/        `/\      /                 ~-. _ .-~      /
             \____(oo)           *.   }            {                   /
             (    (--)          .----~-.\        \-`                 .~
             //__\\  \__ Ack!   ///.----..<        \             _ -~
            //    \\               ///-._ _ _ _ _ _ _{^ - - - - ~