Skip to content

Instantly share code, notes, and snippets.

@cdmo
Created April 4, 2016 17:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cdmo/4add609fca4311d516a12d890902ebe0 to your computer and use it in GitHub Desktop.
Save cdmo/4add609fca4311d516a12d890902ebe0 to your computer and use it in GitHub Desktop.
function diff_mods { colordiff <(drush "$1" pml --status=enabled --pipe) <(drush "$2" pml --status=enabled --pipe); };
export -f diff_mods
@cdmo
Copy link
Author

cdmo commented Apr 4, 2016

Add to your .bash_profile or .bashrc and replace $1 and $2 with Drupal site aliases. Like

diff_mods @site-dev @site-qa

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment