Skip to main content

Blog Post

How to prettify the output from your remote drush commands

Have you noticed how the output from your remote drush commands wraps at awkward lengths? This is especially annoying with features commands:

Well, here's a quick fix! Throw this snippet into your drush alias. It adds a "shell-alias" that executes the features-list command with the --tty SSH option.

$aliases['my-alias'] = array(
  'shell-aliases' => array(
    'fl' => 'ssh --tty drush fl',


NOTE: If you get the error "The drush command 'fl' could not be found," then Drush doesn't know which sites directory to use. To fix, you have two options:

  1. Add the "--uri" option to the shell alias. E.g., 'ssh --tty drush fl'
  2. Specify the "l" option in drushrc.php. E.g., $options['l'] = ''

Additional Resources

Learning How To Install Drush on Non-Admin Rights Server | Mediacurrent Blog Post
A Better Access Denied Page with Panels | Mediacurrent Blog Post 

Access icon Up arrow icon Drupal 8 icon Facebook icon - white Facebook icon - blue outline Facebook icon - yellow Hollow right arrow icon Hollow right arrow icon - white LinkedIn icon - white LinkedIn icon - hollow LinkedIn icon - blue outline LinkedIn icon - yellow Mediacurrent wordmark Quote icon Twitter icon - white Twitter icon - hollow Twitter icon - blue outline Twitter icon - yellow Youtube icon - white Youtube icon - yellow