Created
July 26, 2012 01:45
-
-
Save stennie/3179786 to your computer and use it in GitHub Desktop.
Enable default pretty printing in MongoDB shell by default .. equivalent of .find().pretty()
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Add to .mongorc.js | |
DBQuery.prototype._prettyShell = true; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment