Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Very nice! Here's the full code for those that had, like me, a more minimalistic .zshrc:

```

autoload -U up-line-or-beginning-search

autoload -U down-line-or-beginning-search

zle -N up-line-or-beginning-search

zle -N down-line-or-beginning-search

bindkey "^[[A" up-line-or-beginning-search

bindkey "^[[OA" up-line-or-beginning-search

bindkey "^[[B" down-line-or-beginning-search

bindkey "^[[OB" down-line-or-beginning-search

```

 help



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: