I am running on a Mac with zsh and WezTerm. When using the up arrow for the search I can scroll through he choice and select an entry with Enter (or Tab to edit). This only works about 1/2 the time. On many occasions it list the command above my command prompt and does not allow execution or editing. Instead, I have to cut/copy/paste the command listed above my prompt.