Last Updated: February 25, 2016
· grobot

steal aegir's drush aliases

Aegir has a bunch of Drush aliases, but you can't bring yourself to share a single user a/c with a lowly daemon?

Neither. Steal that mofo's aliases. Drop this in your ~/.drush/aliases.drushrc.php or /etc/drush/aliases.drushrc.php -

 * Aegir user has the alias swag. Let's have all that.
global $aliases;
foreach(glob('/var/aegir/.drush/*alias.drushrc.php') as $aegir_alias) {

Permissions problems? You'll work it out. I know you can.