mongorc.js 111 B

1234
  1. prompt = function() {
  2. var host = db.serverStatus().host;
  3. return host.toUpperCase() + ":[" + db + "] > ";
  4. }