Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
So I have those aliases over there (in /var/aegir/.drush, what a coincidence :) that I have legally access to *but* that are not in my search path (because I am not the aegir user). I need to do something silly like:
env HOME=/var/aegir drush command
... to find those aliases while I expected:
drush -i /var/aegir/.drush command
to "Just Work".
Reading up on the alias path search algorithm, it strikes me as being an incomplete duplicate of the commandfiles search algorithm...
Is there any reason why those two are different? Why can't I look for aliases in other places with -i?
Comments
Comment #1
moshe weitzman CreditAttribution: moshe weitzman commentedI think this is a dupe of #957182: Setting $options['alias-path'] in one drushrc.php file should not overwrite default values, or values set in other config files. If not, please reopen. Patches welcome, over there.