summaryrefslogtreecommitdiff
path: root/zsh/zshrc
diff options
context:
space:
mode:
authorTimmy Keller <tjk@tjkeller.xyz>2021-08-23 17:34:26 -0500
committerTimmy Keller <tjk@tjkeller.xyz>2021-08-23 17:34:26 -0500
commit521b9ff221b49064e993279a19ce4221d6e0ee0a (patch)
tree0a749c50aa8be915782ba13757dba211da119dd1 /zsh/zshrc
parent0949414e76c75da02efb07dbe747f3387a24d2c0 (diff)
downloaddotconfig-521b9ff221b49064e993279a19ce4221d6e0ee0a.tar.xz
dotconfig-521b9ff221b49064e993279a19ce4221d6e0ee0a.zip
Changes over vacation to Ga/Sc & first day of college
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)