summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2019-05-16 09:14:53 +0200
committerFlorian Pritz <bluewind@xinu.at>2019-07-06 14:19:22 +0200
commit5a3b7d76ea4d9a589fa0a1d5d87532fded9f78bd (patch)
tree554cb2f11f9599e1ead6d5223d178c7b50de8b92
parentfb925fa5c24e928fccecf544f26a1be4bda6160e (diff)
downloaddotfiles-5a3b7d76ea4d9a589fa0a1d5d87532fded9f78bd.tar.gz
dotfiles-5a3b7d76ea4d9a589fa0a1d5d87532fded9f78bd.tar.xz
zshrc: Create history dir if missing
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rw-r--r--.zshrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/.zshrc b/.zshrc
index aca1b90..ad9401f 100644
--- a/.zshrc
+++ b/.zshrc
@@ -445,6 +445,8 @@ HISTORYDIRECTORY=~/.zsh/history
HISTFILE="$HISTORYDIRECTORY/histfile"
HISTSIZE=10000
SAVEHIST=10000000
+
+mkdir -p "$HISTORYDIRECTORY"
# }}}
# Other ZSH options {{{
autoload -U colors