fix: brew for MacOS and HISTFILE path with whitespaces
This commit is contained in:
parent
6f25830878
commit
769e7570ae
2 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ export FZF_ALT_C_OPTS="--preview '(highlight -O ansi -l {} 2> /dev/null || cat {
|
||||||
|
|
||||||
# History {{{ #
|
# History {{{ #
|
||||||
[ -z "$HISTFILE" ] && HISTFILE="$HOME/.cache/zsh/history"
|
[ -z "$HISTFILE" ] && HISTFILE="$HOME/.cache/zsh/history"
|
||||||
[ ! -d $(dirname $HISTFILE) ] && mkdir -p $(dirname $HISTFILE)
|
[ ! -d "$(dirname "$HISTFILE")" ] && mkdir -p "$(dirname "$HISTFILE")"
|
||||||
export HISTSIZE=10000
|
export HISTSIZE=10000
|
||||||
export SAVEHIST=10000
|
export SAVEHIST=10000
|
||||||
# }}} History #
|
# }}} History #
|
||||||
|
|
Loading…
Reference in a new issue