Skip to content

Instantly share code, notes, and snippets.

@typhonius
Last active March 11, 2016 15:54
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save typhonius/6378209 to your computer and use it in GitHub Desktop.
Save typhonius/6378209 to your computer and use it in GitHub Desktop.
<?php
$adam = array(
'remote-host' => 'adammalone.net',
'root' => '/var/www/html/adammalone/docroot',
'uri' => 'adammalone.net',
'strict' => 0,
'path-aliases' => array(
'%dump-dir' => '/home/adammalone/.drush/dumps',
'%files' => 'sites/default/files',
),
'env' => 'prod',
'#prod' => '@adammalone.prod',
);
$aliases['adammalone.prod'] = $adam;
$aliases['adammalone.test'] = array(
'remote-host' => 'dev.adammalone.net',
'env' => 'test',
) + $adam;
$aliases['adammalone.dev'] = array(
'root' => '/Users/adam.malone/sites/adammalone.net',
'env' => 'dev',
) + $adam;
unset($aliases['adammalone.dev']['remote-host']);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment