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 -
<?php
/**
* Aegir user has the alias swag. Let's have all that.
* http://giantrobot.co.nz/node/899
*/
global $aliases;
foreach(glob('/var/aegir/.drush/*alias.drushrc.php') as $aegir_alias) {
require_once($aegir_alias);
}
Permissions problems? You'll work it out. I know you can.
Written by Chris Burgess
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Aliases
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#