mongorc.js 97 B

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