Add following lines in .zshrc

bindkey "^[[A" history-beginning-search-backward
bindkey "^[[B" history-beginning-search-forward

But some terminals may be different key mapping.

Press ctrl-v <key> to find the key mapping.

相关文章:

  • 2022-12-23
  • 2021-09-08
  • 2022-01-17
  • 2021-09-28
  • 2021-11-23
  • 2022-12-23
  • 2021-12-16
猜你喜欢
  • 2022-02-07
  • 2021-08-09
  • 2022-02-07
  • 2022-01-15
  • 2021-06-04
  • 2021-05-31
  • 2021-12-24
相关资源
相似解决方案