From c078dfff27bb4a40f81e4140a4e7506c0c546439 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Mon, 20 Jun 2022 12:20:41 +0200 Subject: zshrc: explicitly disable share_history and switch to inc_append_history_time The share_history is enabled in the global zsh config in NixOS and thus we have to disable it to make sure that we use only incremental history. --- zshrc.d/common | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zshrc.d/common b/zshrc.d/common index 95f121b..df29337 100644 --- a/zshrc.d/common +++ b/zshrc.d/common @@ -9,7 +9,8 @@ setopt extendedglob setopt hist_ignore_dups setopt hist_expire_dups_first setopt extended_history -setopt inc_append_history +setopt inc_append_history_time +unsetopt share_history setopt promptsubst unsetopt nomatch bindkey -e -- cgit v1.2.3