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
1 changed files with 1 additions and 4 deletions

View File

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