diff options
Diffstat (limited to 'zsh/zshrc')
-rw-r--r-- | zsh/zshrc | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -11,15 +11,15 @@ source "$XDG_CONFIG_HOME/zsh/keybindrc" source "$XDG_CONFIG_HOME/zsh/lficons" # History settings -HISTFILE="$XDG_DATA_HOME/zsh-history" +HISTFILE="$XDG_DATA_HOME/zsh/zhistory" HISTSIZE=200 # Max lines of history loaded into memory SAVEHIST=10000000 # Max lines of history saved to the histfile -setopt INC_APPEND_HISTORY # Write to the histfile after each command is ran, not after zsh exits +setopt INC_APPEND_HISTORY # Create entries after each command, not after zsh exits setopt SHARE_HISTORY # Share history between zsh sessions setopt HIST_REDUCE_BLANKS -setopt HIST_IGNORE_DUPS # Successive duplicate commands ignored -setopt HIST_IGNORE_SPACE # Commands with leading space ignored -# Letting this write to the histfile because it seems like it might actually reduce overall writes (while using more data ofc) +setopt HIST_IGNORE_DUPS # Successive duplicate entries ignored +setopt HIST_IGNORE_SPACE # Entries with leading space ignored +# This seems to reduce overall disk writes #unsetopt EXTENDED_HISTORY # Save only the command, not any superfluous info # Change cursor shape for different vi modes (Cred: LARBS) |