3 ms·
I just use this for quick history search of typically my last few commands in .zshrc: # tsch-style history search esc-n/esc-p bindkey '\ep' history-beg
by lamontcg 3y ago
I just use this for quick history search of typically my last few commands in .zshrc:
# tsch-style history search esc-n/esc-p
bindkey '\ep' history-beginning-search-backward
bindkey '\en' history-beginning-search-forward
If I need substrings or searching for something further back in time I just use `history -99999 | rg`
Tried ctrl-r bash style for about a month back when I was switching off of tcsh and hated it.