History bug fixed after 3 years :P
This commit is contained in:
parent
0cc621f3d9
commit
f432800e97
24
my.zsh
24
my.zsh
|
@ -25,19 +25,19 @@ source $current_path/lib/antigen.zsh
|
||||||
#[[ -z "$PS1" ]] && return
|
#[[ -z "$PS1" ]] && return
|
||||||
|
|
||||||
# Set options
|
# Set options
|
||||||
HISTFILE=$HOME/.zsh_history
|
export HISTFILE=$HOME/.zsh_history
|
||||||
HISTSIZE=1000
|
export HISTFILESIZE=500
|
||||||
|
export SAVEHIST=500
|
||||||
|
export HISTSIZE=500
|
||||||
|
|
||||||
setopt HIST_IGNORE_DUPS \
|
setopt HIST_IGNORE_DUPS
|
||||||
NO_HIST_BEEP \
|
setopt NO_HIST_BEEP
|
||||||
PROMPT_SUBST \
|
setopt PROMPT_SUBST
|
||||||
NO_BEEP \
|
setopt NO_BEEP
|
||||||
AUTO_CD \
|
setopt AUTO_CD
|
||||||
CORRECT \
|
setopt CORRECT
|
||||||
SHARE_HISTORY \
|
setopt SHARE_HISTORY
|
||||||
APPEND_HISTORY \
|
setopt HIST_IGNORE_ALL_DUPS
|
||||||
INC_APPEND_HISTORY \
|
|
||||||
HIST_IGNORE_ALL_DUPS
|
|
||||||
# My.Zsh directory path
|
# My.Zsh directory path
|
||||||
myzsh=${MYZSH:-$HOME}
|
myzsh=${MYZSH:-$HOME}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue