I have to comment the alias for EDITOR. ksh history completion behaves strangely when that alias is set.