code refactor
explicity set tab key for completion
remember history that coming from command line call