logoalt Hacker News

applicativeyesterday at 9:32 PM1 replyview on HN

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.

Replies

saghmtoday at 2:04 AM

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.