diff --git a/home/zsh/default.nix b/home/zsh/default.nix index 96ec251..27077cf 100644 --- a/home/zsh/default.nix +++ b/home/zsh/default.nix @@ -18,7 +18,7 @@ in extended = false; ignoreSpace = true; ignoreDups = true; - share = true; + share = false; path = "${config.xdg.dataHome}/zsh/zsh_history"; }; diff --git a/home/zsh/options.zsh b/home/zsh/options.zsh index b02ca54..e1e31f4 100644 --- a/home/zsh/options.zsh +++ b/home/zsh/options.zsh @@ -8,5 +8,9 @@ setopt autopushd pushdminus pushdsilent setopt rcquotes # Single word commands can resume an existing job setopt autoresume +# Append commands to history as they are exectuted +setopt inc_append_history_time +# Remove useless whitespace from commands +setopt hist_reduce_blanks # Those options aren't wanted unsetopt beep extendedglob notify