Implement peco history search