Skip to content

Instantly share code, notes, and snippets.

@mjhoy
Created November 21, 2014 20:15
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 mjhoy/07d3cf7d4bd67269c405 to your computer and use it in GitHub Desktop.
Save mjhoy/07d3cf7d4bd67269c405 to your computer and use it in GitHub Desktop.
running etags for drupal
# so i remember, from this page: http://www.emacswiki.org/PhpMode
etags --language=php `find . -name "*.php" -or -name "*.inc" -or -name "*.module" -or -name "*.theme" -or -name \
"*.engine" -or -name "*.ini"` --language=JavaScript `find . -name "*.js" -and -not -name "*.min.js" -and -not -name \
"*.pack.js" -and -not -name "*_pack.js" -and -not -name "*_stripped.js" -and -not -name "*_mini.js" -and -not -name \
"swfobject.js" -and -not -name "cal.js" -and -not -path "*/tinymce/jscripts/*" -and -not -name "ext-*.js" -and -not -path \
"*/files/*" -and -not -path "*/editors/jce/*" -and -not -path "*/libraries/*" -and -not -path \
"*/modules/ckeditor/ckeditor/*" -and -not -path "*/modules/fckeditor/fckeditor/*" -and -not \
-path "*/com_virtuemart/js/*" -and -not -path "*/media/system/js/*" -and -not -path "misc/jquery.js"`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment