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

Mongo shell reads a defaults file on startup

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 1.9.1
    • None
    • Shell
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: