diff options
author | Karel Kočí <cynerd@email.cz> | 2022-06-20 12:20:41 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2022-06-20 12:20:41 +0200 |
commit | c078dfff27bb4a40f81e4140a4e7506c0c546439 (patch) | |
tree | 39f6e1a99fa5fbd625f4d67ad6c047fc24ad9d1b /zshrc.d/common | |
parent | 5d4afd407bae5d9ca94d501662985574770b6171 (diff) | |
download | shellrc-c078dfff27bb4a40f81e4140a4e7506c0c546439.tar.gz shellrc-c078dfff27bb4a40f81e4140a4e7506c0c546439.tar.bz2 shellrc-c078dfff27bb4a40f81e4140a4e7506c0c546439.zip |
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.
Diffstat (limited to 'zshrc.d/common')
-rw-r--r-- | zshrc.d/common | 3 |
1 files changed, 2 insertions, 1 deletions
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 |