Commit e1364c4f authored by Murukesh Mohanan's avatar Murukesh Mohanan

check version for incappendhistorytime

parent 0351c924
......@@ -10,3 +10,5 @@ export MANPATH
export BYOBU_PREFIX=/usr/local
fpath=(/usr/local/share/zsh-completions $fpath)
eval "$(chef shell-init zsh)"
Subproject commit 8151c6cb4e81ae53e03499ed103c45857cd7c8db
Subproject commit bbf93b4e5fd63b3a76d2524feec6826b4fad8ee7
......@@ -118,7 +118,14 @@ case $TERM in
;;
esac
setopt appendhistory histignorespace histignorealldups histnostore histreduceblanks histsavenodups incappendhistorytime
setopt appendhistory histignorespace histignorealldups histnostore histreduceblanks histsavenodups
autoload is-at-least
if is-at-least $ZSH_VERSION 5.3.0
then
setopt incappendhistorytime
else
setopt incappendhistory
fi
# Search backwards and forwards with a pattern
bindkey -M vicmd '/' history-incremental-pattern-search-backward
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment