summaryrefslogtreecommitdiff
path: root/dot_config/zsh/zprofile
diff options
context:
space:
mode:
Diffstat (limited to 'dot_config/zsh/zprofile')
-rw-r--r--dot_config/zsh/zprofile1
1 files changed, 1 insertions, 0 deletions
diff --git a/dot_config/zsh/zprofile b/dot_config/zsh/zprofile
index 9fdd008..ca974ac 100644
--- a/dot_config/zsh/zprofile
+++ b/dot_config/zsh/zprofile
@@ -9,6 +9,7 @@ if [ "${HISTSIZE:-30}" = 30 ]; then
HISTSIZE=5000
SAVEHIST=10000
fi
+[ -d "${HISTFILE:h}" ] || mkdir -m 0700 "${HISTFILE:h}"
export EDITOR PAGER
setopt nullglob