1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-21 21:30:09 +00:00

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 ## 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