$EDITOR has different location on osx/linux