Make $EDITOR server friendly