I'm working locally on my OSX and I have my drush alias files at ~/.drush/[hostname].aliases.drushrpc.php but no matter what project I'm in, only one of the alias files are being read, as confirmed through drush status. Also of note is that my main drushrpc.php file was never in that directory and I don't think it is anywhere.
I've tried clearing drush cache, and also adding a drushrpc.php and adding this php which I'm not entirely sure what it means:
<?php
// ~/.drush/drushrc.php
exec('git rev-parse --show-toplevel 2> /dev/null', $repo);
if (!empty($repo)) {
$repo = array_shift($repo);
$options['config'] = $repo . '/.drush/drushrc.php';
$options['include'] = $repo . '/.drush/commands';
$options['alias-path'] = $repo . '/.drush';
}
I found that configuration here: http://www.astonishdesign.com/blog/drush-aliases-what-why-and-how
Anyone know how I should proceed?