fix: brew for MacOS and HISTFILE path with whitespaces

This commit is contained in:
Peter 2023-10-20 15:52:17 +02:00
parent 6f25830878
commit 769e7570ae
No known key found for this signature in database
2 changed files with 1 additions and 1 deletions

View file

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