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

Mongo shell reads a defaults file on startup

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.9.1
    • Component/s: Shell
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: