From f805ea84003c508694b53bbb4dd9a22c7f69525c Mon Sep 17 00:00:00 2001 From: Vlad Doster Date: Mon, 27 Jan 2020 04:57:37 -0800 Subject: [PATCH] fix(add zsh history) --- .config/zsh/.zshrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index 63c0049b..c04bdb0e 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -15,6 +15,11 @@ compinit # Include hidden files in autocomplete: _comp_options+=(globdots) +# History +HISTSIZE=1000 +SAVEHIST=1000 +HISTFILE=$ZDOTDIR/.history + # Use vim keys in tab complete menu: bindkey -M menuselect 'h' vi-backward-char bindkey -M menuselect 'k' vi-up-line-or-history