Skip to content

Instantly share code, notes, and snippets.

@teknikqa
Created April 11, 2018 09:08
Show Gist options
  • Save teknikqa/0f68a2dbf0adda5a0ca7edfe7b43b636 to your computer and use it in GitHub Desktop.
Save teknikqa/0f68a2dbf0adda5a0ca7edfe7b43b636 to your computer and use it in GitHub Desktop.
Open drush links in a specific browser
<?php
/**
* @file
* drushrc.php
*/
/**
* Open link in specific browser.
*
* In case you do web development in a specific browser and all other browsing
* in your default browser, this will force drush to open links in the browser
* that you specify.
*/
$command_specific['user-login'] = array('browser' => 'open -a FirefoxDeveloperEdition');
// Use this for Google Chrome Canary.
// $command_specific['user-login'] = array('browser' => 'open -a Google\ Chrome\ Canary');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment