ZSH: use built-in 'history-search-end' function