Closed (won't fix)
Project:
Drush
Version:
7.x-4.5
Component:
Core Commands
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Aug 2011 at 15:27 UTC
Updated:
21 Aug 2011 at 13:59 UTC
Unless my brain has finally melted, I can no longer use
drush cli
cd @sitealiasto take me to that site's "environment" (sorry, I'm not familiar with the correct term here). Looks like:
@sitealias>
It takes me to the correct site root as per the alias definition, but even when I use st, the "Default" site URI, path, etc are displayed instead of those defined for the alias (e.g. http://default instead of http://my.site.alias).
Note that from the cli, st @sitealias does work properly.
Again, forgive me if I missed something.
Comments
Comment #1
greg.1.anderson commentedYes, that's a very good point; ideally, core-cli would work better. However, at the last sprint, we decided to deprecate core-cli in favor of the new drush autocompletion feature, so I don't know if this will ever get fixed. However, I think it would still be good to have sample code for a cd alias available, and it would perhaps be beneficial if cd @alias went to sites/sitefolder instead of the Drupal root.
Comment #2
greg.1.anderson commentedp.s. In the meantime, perhaps you might want to try
use @sitealiasinstead of "cd".Comment #3
moshe weitzman commentedcore-cli command has been removed from drush5. we'll probably only fix critical bugs in drush4 branch.
Comment #3.0
moshe weitzman commentedAdded note about
st @sitealiasstill working.