Move history options below zim init so they are not overridden
This commit is contained in:
parent
fccf010a3a
commit
c74a679f49
10
.zshrc
10
.zshrc
@ -4,11 +4,6 @@ then
|
|||||||
source ~/.zim/zimfw.zsh install
|
source ~/.zim/zimfw.zsh install
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Remove older command from the history if a duplicate is to be added.
|
|
||||||
setopt HIST_IGNORE_ALL_DUPS
|
|
||||||
unsetopt SHARE_HISTORY
|
|
||||||
setopt INC_APPEND_HISTORY
|
|
||||||
|
|
||||||
# Set editor default keymap to emacs
|
# Set editor default keymap to emacs
|
||||||
bindkey -e
|
bindkey -e
|
||||||
stty -ixon #disable XON/XOFF, which breaks C-s
|
stty -ixon #disable XON/XOFF, which breaks C-s
|
||||||
@ -49,6 +44,11 @@ source $HOME/.aliases/general
|
|||||||
# Various Options
|
# Various Options
|
||||||
unsetopt NOMATCH # turn off "no matches found" on glob failure
|
unsetopt NOMATCH # turn off "no matches found" on glob failure
|
||||||
|
|
||||||
|
# Remove older command from the history if a duplicate is to be added.
|
||||||
|
setopt HIST_IGNORE_ALL_DUPS
|
||||||
|
unsetopt SHARE_HISTORY # don't share history between terminals
|
||||||
|
setopt INC_APPEND_HISTORY
|
||||||
|
|
||||||
# rehashes on bin change, might cause performance issues
|
# rehashes on bin change, might cause performance issues
|
||||||
zstyle ':completion:*' rehash true
|
zstyle ':completion:*' rehash true
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user