Commit 1ebc98b9 authored by Joe Block's avatar Joe Block
Browse files

Don't clobber HISTSIZE or SAVEHIST if they're already set

parent 43aa3783
## Command history configuration
if [ -z $HISTFILE ]; then
if [ -z "$HISTFILE" ]; then
HISTFILE=$HOME/.zsh_history
fi
HISTSIZE=10000
SAVEHIST=10000
if [ -z "$HISTSIZE" ]; then
HISTSIZE=10000
fi
if [ -z "$SAVEHIST" ]; then
SAVEHIST=10000
fi
setopt extended_history
setopt hist_expire_dups_first
......
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