sorin-ionescu/prezto — pull request #604 by leoj3n (2014-05-07 15:01:37+00:00)
Title: Only print fortunes in terminals

This modification prevents conflicts with programs that try to read stdout from a login shell.

For example, see https://github.com/brunophilipe/Cakebrew/issues/59