Fix editor command to use environment vars to work appropriately on OS X
Merge pull request #2 from invodo/feature/fix-feature-editor

Fix editor command to use environment vars to work appropriately on OS X