Allow custom initialization of IntelliShell
Allow custom initialization or settings for IntelliShell, for example, I always have to execute:
rs.slaveOk();
DBQuery.shellBatchSize = 1000;
4
votes
![](https://secure.gravatar.com/avatar/59842ed9048e5140795d18bf18f3c3aa?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)
-
Scott Coffin commented
By default the IntelliShell opens with a a find({}) query. I'd like to change that to be aggregate([{}]). The vast majority of times that I open IntelliShell is to wirte an aggregate query. I can write the aggregation query faster in the shell than I can in the dedicated Aggregate window/tool.