diff --git a/zsh/.zshrc b/zsh/.zshrc index 3abf3c4..cf1d489 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -4,6 +4,11 @@ HISTSIZE=10000 SAVEHIST=10000 setopt autocd autopushd extendedglob nomatch notify pushdminus unsetopt beep +setopt HIST_IGNORE_DUPS # Don't record duplicate entries +setopt HIST_FIND_NO_DUPS # Don't show duplicates when searching +setopt HIST_REDUCE_BLANKS # Remove superfluous blanks +setopt INC_APPEND_HISTORY # Write to history immediately (not on exit) +setopt SHARE_HISTORY # Share history between sessions bindkey -v # End of lines configured by zsh-newuser-install # The following lines were added by compinstall @@ -19,7 +24,7 @@ autoload -Uz compinit compinit # End of lines added by compinstall -REPORTTIME=5 +REPORTTIME=1 #autoload -U colors #colors @@ -43,7 +48,7 @@ eval "$(fzf --zsh)" # tmux if [ -x "$(command -v tmux)" ] && [ -n "${DISPLAY}" ] && [ -z "${TMUX}" ] && [ -z "${NOTMUX}" ]; then - tmux || tmux >/dev/null 2>&1 + tmux new || tmux >/dev/null 2>&1 fi # key bindings according to https://wiki.archlinux.org/title/Zsh#Key_bindings