I thought it might be possible to detect if running in a Robomongo shell, but ~/mongorc.js is loaded before Robomongo injects any unique JS variables.
Assuming #107 is merged, an easier fix would be for users to add __colorize = false; to ~/.robomongorc.js. That will disable colors for Robomongo sessions while still having access to the Mongo Hacker Enhancements (as well as leaving color highlighting enabled in regular mongo shell sessions).
I thought it might be possible to detect if running in a Robomongo shell, but
~/mongorc.js
is loaded before Robomongo injects any unique JS variables.Assuming #107 is merged, an easier fix would be for users to add
__colorize = false;
to~/.robomongorc.js
. That will disable colors for Robomongo sessions while still having access to the Mongo Hacker Enhancements (as well as leaving color highlighting enabled in regularmongo
shell sessions).