Add proper command line EDITOR support