diff options
Diffstat (limited to '.config/zsh/.zshrc')
-rw-r--r-- | .config/zsh/.zshrc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index aeeaaa8..6e76594 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -4,6 +4,13 @@ autoload -U compinit colors zcalc # theming setopt PROMPT_SUBST setopt autocd autopushd pushdignoredups +# nice history search feature +autoload -U up-line-or-beginning-search +autoload -U down-line-or-beginning-search + +bindkey "${terminfo[kcuu1]}" up-line-or-beginning-search +bindkey "${terminfo[kcud1]}" down-line-or-beginning-search + source "$ZDOTDIR/aliases.zsh" # plugins |