← Back to context

Comment by applicative

16 hours ago

I was missing it too. Google says it's a builtin zsh feature but mac doesn't turn it on by default, so you add these to `~/.zshrc`

    bindkey '^[[A' history-search-backward
    bindkey '^[[B' history-search-forward

So far it works. Thank you diath.

I'm not really sure what "turn it on by default" even means in the context of a shell. I've had that manually in my config for years.