Figuring out how to use the drushrc.php configuration files is painful and not covered well in the README.

I will correct this soon. I still need to figure out exactly how it's supposed to work, first. See http://drupal.org/node/338801

Comments

Steve Dondley’s picture

Title: Dcoument use of drush configuration better » Dcoument use of drush configuration files better
adrian’s picture

Status: Active » Fixed

The example.drush.inc has lots of help relating to this.

/*
 * Examples of valid statements for a drushrc.php file. Use this file to cut down on
 * typing of options and avoid mistakes.
 *
 * Rename this file to drushrc.php and optionally copy it to one of
 * four convenient places, listed below in order of precedence:
 *
 * - Drupal site folder.
 * - Drupal installation root.
 * - User Home folder (i.e. ~/.drushrc.php).
 * - Drush installation folder.
 *
 * If a configuration file is found in any of the above locations, it
 * will be loaded and merged with other configuration files in the
 * search list.
 *
 * Alternately, copy it to any location and load it with the --config (-c) option.
 * Note that this preempts loading any other configuration files!
 */


Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.