By saltcod on
Hey all,
I can't get the alias to drush to work.
I have the drush folder in /var/www, and so in ~./bashrc I have:
alias drush='/var/www/drush/drush'
I've made drush executable (when I go drush/drush dl views ....it works)
I just can't make the alias work. server=ubuntu
Thanks!
Comments
Are you using Ubuntu LTS?
Are you using Ubuntu LTS? It doesn't support php-cli out of the box. The README may have more info. There is a PHP-ClI requirement for Drush. It helps you execute php commands from the command line I think. Someone else may know more.
Thanks for the reply. Drush
Thanks for the reply. Drush does actually work out of the box. Just make drush/drush executable and it works fine. The alias is the part that won't work. To run drush commands now I need to go:
/var/www/drush/drush dl views cckinstead of
drush dl views cckAfter creating the alias in
After creating the alias in .bashrc,
alias drush='/var/www/drush/drush'to reload to detect the changes you simply have to run
source ~/.bashrcawesome. Works like a charm.
awesome. Works like a charm. Thanks!
No problem saltcod
No problem saltcod