History bug fixed after 3 years :P

This commit is contained in:
Sameer Rahmani 2018-01-16 10:50:06 +00:00
parent 0cc621f3d9
commit f432800e97
1 changed files with 12 additions and 12 deletions

24
my.zsh
View File

@ -25,19 +25,19 @@ source $current_path/lib/antigen.zsh
#[[ -z "$PS1" ]] && return
# Set options
HISTFILE=$HOME/.zsh_history
HISTSIZE=1000
export HISTFILE=$HOME/.zsh_history
export HISTFILESIZE=500
export SAVEHIST=500
export HISTSIZE=500
setopt HIST_IGNORE_DUPS \
NO_HIST_BEEP \
PROMPT_SUBST \
NO_BEEP \
AUTO_CD \
CORRECT \
SHARE_HISTORY \
APPEND_HISTORY \
INC_APPEND_HISTORY \
HIST_IGNORE_ALL_DUPS
setopt HIST_IGNORE_DUPS
setopt NO_HIST_BEEP
setopt PROMPT_SUBST
setopt NO_BEEP
setopt AUTO_CD
setopt CORRECT
setopt SHARE_HISTORY
setopt HIST_IGNORE_ALL_DUPS
# My.Zsh directory path
myzsh=${MYZSH:-$HOME}