[shell] Only set sublime as editor where available