From 4489d550c17fecffab98202707891c7c8d9ff831 Mon Sep 17 00:00:00 2001 From: Andrey Astafyev Date: Tue, 28 May 2019 22:04:42 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A1=D0=BE=D0=B7=D0=B4=D0=B0=D0=B2=D0=B0?= =?UTF-8?q?=D1=82=D1=8C=20=D0=BA=D0=B0=D1=82=D0=B0=D0=BB=D0=BE=D0=B3=20?= =?UTF-8?q?=D0=B4=D0=BB=D1=8F=20=D1=84=D0=B0=D0=B9=D0=BB=D0=B0=20=D0=B8?= =?UTF-8?q?=D1=81=D1=82=D0=BE=D1=80=D0=B8=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- history.zsh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/history.zsh b/history.zsh index 6cfecb1..eb4bb7c 100644 --- a/history.zsh +++ b/history.zsh @@ -3,6 +3,8 @@ HISTSIZE=10000000 SAVEHIST=10000000 HISTDUP=erase +[ ! -d "$HOME/.cache/zsh" ] && mkdir -p "$HOME/.cache/zsh" + setopt BANG_HIST # Treat the '!' character specially during expansion. setopt EXTENDED_HISTORY # Write the history file in the ":start:elapsed;command" format. setopt INC_APPEND_HISTORY # Write to the history file immediately, not when the shell exits.