1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-12 08:50:08 +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
if [ -z "$HISTFILE" ]; then
HISTFILE=$HOME/.zsh_history
fi
[ -z "$HISTFILE" ] && HISTFILE="$HOME/.zsh_history"
HISTSIZE=10000
SAVEHIST=10000