Until recently I used Ctrl+R to search for recent commands in my terminal which uses the zsh shell. The search included commands from previous sessions which were saved in my ~/.zsh_history file.

Now when I use Ctrl+R it only searches commands from the current terminal session and does not search in the ~/.zsh_history file. I have also notices that the ~/.zsh_history file is no longer being updated.

How do I fix this?

I have tried adding the following to my .zshrc file but it has made no difference:

HISTSIZE=10000  # Save most-recent 1000 lines
SAVEHIST=10000  # Save most-recent 1000 lines

bindkey -v
bindkey '^R' history-incremental-search-backward
  • 1
    Please add the rest of your .zshrc to your question. It's impossible to solve without that. Sep 2, 2022 at 7:31

1 Answer 1


This is an issue with fzf integration which was fixed recently in an update to fzf. You can find the relevant issue here:


You simply need to update to version 0.33.0 or later.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.