adding the correct atom command to the editor variable to set it as default editor