From ef3083e1d1ec5da3ea9fdd44f36f0788a5067cb0 Mon Sep 17 00:00:00 2001 From: Bert Peters Date: Mon, 23 Apr 2018 14:54:23 +0200 Subject: [PATCH] Enable up/down history search. --- zsh/.config/zsh/.zshrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc index 93df55f..a7b4168 100644 --- a/zsh/.config/zsh/.zshrc +++ b/zsh/.config/zsh/.zshrc @@ -133,6 +133,9 @@ setopt hist_expire_dups_first setopt extended_history # Record times in history setopt hist_ignore_all_dups +bindkey '^[[A' up-line-or-search +bindkey '^[[B' down-line-or-search + # Configure alternative histfile location HISTFILE="$XDG_DATA_HOME/zsh/histfile" if [ ! -d $(dirname $HISTFILE) ]