summaryrefslogtreecommitdiff
path: root/zsh/zshrc
diff options
context:
space:
mode:
Diffstat (limited to 'zsh/zshrc')
-rw-r--r--zsh/zshrc10
1 files changed, 5 insertions, 5 deletions
diff --git a/zsh/zshrc b/zsh/zshrc
index 67fc838..025123b 100644
--- a/zsh/zshrc
+++ b/zsh/zshrc
@@ -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)