Improve history completion in ZSH