Created
April 23, 2012 01:10
-
-
Save xurizaemon/2467973 to your computer and use it in GitHub Desktop.
auto-load aliases from ~aegir/.drushrc/ for every developer on a machine
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Aegir user has lots of aliases. Let's load for developers too. | |
*/ | |
global $aliases; | |
foreach(glob('/var/aegir/.drush/*alias.drushrc.php') as $aegir_alias) { | |
require_once($aegir_alias); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment