summaryrefslogtreecommitdiffstats
path: root/zsh/.config/zsh/.zshopts
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-x[-rw-r--r--]zsh/.config/zsh/.zshopts10
1 files changed, 5 insertions, 5 deletions
diff --git a/zsh/.config/zsh/.zshopts b/zsh/.config/zsh/.zshopts
index 810e2d1..f9df3e3 100644..100755
--- a/zsh/.config/zsh/.zshopts
+++ b/zsh/.config/zsh/.zshopts
@@ -1,15 +1,15 @@
+#! /usr/bin/env zsh
# History settings
HISTSIZE=50000
SAVEHIST=10000
-HISTFILE=$HOME/.zsh_history
setopt append_history # append the history
setopt inc_append_history # append to history in the current
# session and not just when the session ends
setopt share_history # share history between sessions
-#setopt extended_history # include statistics of when/how long/etc a
+setopt extended_history # include statistics of when/how long/etc a
# command has run
-#setopt hist_ignore_dups # do not store dupes executed after eachother
+setopt hist_ignore_dups # do not store dupes executed after eachother
setopt hist_ignore_all_dups # removes copies of the same line
setopt hist_expire_dups_first # removes copies when the histfile fills up
setopt hist_save_no_dups # don't save dupes from the same session
@@ -20,9 +20,9 @@ setopt hist_reduce_blanks # remove blank lines from the command which
# Disable this on boxes that are affected by bug
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=924736
-is-at-least 5.5 && unsetopt hist_reduce_blanks
+# is-at-least 5.5 && unsetopt hist_reduce_blanks
# bugfix is incoming, lets see what it does
-is-at-least 5.7.2 && setopt hist_reduce_blanks
+# is-at-least 5.7.2 && setopt hist_reduce_blanks
setopt hist_ignore_space # lines starting with space don't go into the
# history