94baa9eadd05038a343bfd99f01493123f5a1526
- Author
- Marc Cornellà <marc.cornella@live.com>
- Committer
- Marc Cornellà <marc.cornella@live.com>
- Date
Message
Simplify `if' into oneliner, allow spaces in HISTFILE
Diff
1diff --git a/lib/history.zsh b/lib/history.zsh
2index 8a861fdbcd74a6233df5efd67a00d34dc7651265..058a1a31978482bc321770d9fa4ab3c859b973ee 100644
3--- a/lib/history.zsh
4+++ b/lib/history.zsh
5@@ -1,8 +1,5 @@
6 ## Command history configuration
7-if [ -z "$HISTFILE" ]; then
8- HISTFILE=$HOME/.zsh_history
9-fi
10-
11+[ -z "$HISTFILE" ] && HISTFILE="$HOME/.zsh_history"
12 HISTSIZE=10000
13 SAVEHIST=10000
14