Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-1687

Mongo shell reads a defaults file on startup

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.9.1
    • Affects Version/s: None
    • Component/s: Shell
    • Labels:
      None

      alter mongo shell to read a defaults file on startup. This allows users to customize the environment, create functions, etc in the shell. This could be similar to a .bashrc file, or a login.sql in sqlplus, or /etc/psqlrc and then from $(HOME)/.psqlrc in PostgreSQL. It would be nice if it checked the working dir first, the a default spot after that.

            Assignee:
            matt.dannenberg Matt Dannenberg
            Reporter:
            kgorman Kenny Gorman
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: