db.collection.find().limit(1).pretty()

Or add DBQuery.prototype._prettyShell = true to ~/.mongorc.js

Even prettier shell.