Simplify `if' into oneliner, allow spaces in HISTFILE

This commit is contained in:
Marc Cornellà 2014-12-13 23:20:03 +01:00
parent d87d4331cf
commit 94baa9eadd

View File

@ -1,8 +1,5 @@
## Command history configuration
if [ -z "$HISTFILE" ]; then
HISTFILE=$HOME/.zsh_history
fi
[ -z "$HISTFILE" ] && HISTFILE="$HOME/.zsh_history"
HISTSIZE=10000
SAVEHIST=10000