aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Rahm <rahm@google.com>2021-12-08 11:48:35 -0700
committerJosh Rahm <rahm@google.com>2021-12-08 11:48:35 -0700
commit0a3cb36a2a7c7d1c74552a4cd297eaaf579e2514 (patch)
tree782b30d82396de5adc1a065c5a6325c5586f1adc
parente7fae3d7a7f7e2e552d369677c11ccb63a3d071b (diff)
downloadzshrcd-0a3cb36a2a7c7d1c74552a4cd297eaaf579e2514.tar.gz
zshrcd-0a3cb36a2a7c7d1c74552a4cd297eaaf579e2514.tar.bz2
zshrcd-0a3cb36a2a7c7d1c74552a4cd297eaaf579e2514.zip
Better history is zsh
-rw-r--r--05-options.zsh6
1 files changed, 6 insertions, 0 deletions
diff --git a/05-options.zsh b/05-options.zsh
index a7af1b6..1b4bdff 100644
--- a/05-options.zsh
+++ b/05-options.zsh
@@ -35,5 +35,11 @@ SAVEHIST=100000
setopt appendhistory
setopt histverify
+setopt inc_append_history
+export HISTTIMEFORMAT="[%F %T]"
+setopt extended_history
+setopt hist_find_no_dups
+setopt hist_ignore_all_dups
+
autoload -U +X compinit
compinit -u