]> git.huck.website - zsh.git/commitdiff
added: history folder
authorHuck Boles <huck@huck.website>
Sun, 28 May 2023 15:07:37 +0000 (10:07 -0500)
committerHuck Boles <huck@huck.website>
Sun, 28 May 2023 15:07:37 +0000 (10:07 -0500)
.zshenv
.zshrc

diff --git a/.zshenv b/.zshenv
index 231eec648a7d0c89b8b7567a92a41d153a00b263..0cd360553f08634cdd934241c0cfb4c9866572ac 100644 (file)
--- a/.zshenv
+++ b/.zshenv
@@ -10,6 +10,7 @@ export ZSH="$ZDOTDIR"
 export ZSHEXTRA="$ZDOTDIR/extra"
 export ZSHINCLUDE="$ZDOTDIR/include"
 export ZSHCOMPLETION="$ZSH/completions"
+export ZSHHISTORY="$ZSH/history"
 export ZSH_COMPDUMP="$ZSH/cache/.zcompdump-$HOST"
 
 # my folders
diff --git a/.zshrc b/.zshrc
index 085999a7ad2089ec0f1f03885e1c199b0d931e6d..a5c9015b9e27b675510417eaf11e487b28aa74b7 100644 (file)
--- a/.zshrc
+++ b/.zshrc
@@ -2,7 +2,7 @@
 
 # setup ~/.config/zsh
 . $ZDOTDIR/.zshenv
-[[ ! -d $ZSH ]] && mkdir -p $ZSH/cache $ZSHINCLUDE $ZSHCOMPLETION $ZSHEXTRA
+[[ ! -d $ZSH ]] && mkdir -p $ZSH/cache $ZSHINCLUDE $ZSHCOMPLETION $ZSHEXTRA $ZSHHISTORY
 
 # options
 ENABLE_CORRECTION="true"