Sure, just as I said, this would work id you don’t need menu or fuzzy matching. But I would recommend using fzf history search anyway, it’s just too good.
I just use one of the default oh-my-zsh themes that makes a clear line, so I can easily find the last line above a long output, for example when trying to read it back chronologically. With other PS1’s I often scroll over it without noticing.
Seems to work with [Ctrl]+[R] as well, though of course only with exact matches.
Sure, just as I said, this would work id you don’t need menu or fuzzy matching. But I would recommend using fzf history search anyway, it’s just too good.
M-hm, I will try it as well! I was just letting people know the comment trick works regardless, cause that’s a nice tip as well!
I’ve never understood prompt decoration like this.
How.
Does.
Punctuating.
Every.
Statement.
Increase.
Readability.
You meant the PS1 prompt?
I just use one of the default oh-my-zsh themes that makes a clear line, so I can easily find the last line above a long output, for example when trying to read it back chronologically. With other PS1’s I often scroll over it without noticing.
It makes my eyes bleed.