Open indytechcook opened 12 years ago
Ok, that command didn't work but this one did
alias phpstrom-update= 'find . -name \*.php | xargs grep -l "^function hook_" | xargs /Users/indytechcook/dotfiles/phpstrom_live_templates/parse_drupal_api.pl > ~/Library/Preferences/WebIde40/templates/user.xml'
Great work on this. FYI the path for phpstrom 4 is
~/Library/Preferences/WebIde40
You might also put in a suggestion to add an alias to the .bashrc/.zshrc file to make it easier to update.
Mine is