summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjohannst <stoelp@eit.uni-kl.de>2019-05-19 13:38:11 +0200
committerjohannst <stoelp@eit.uni-kl.de>2019-05-19 13:38:11 +0200
commit1ced2a51864c0a1402267a08f88a142109a4391a (patch)
tree9fe0193935ff5de574e09d803f92c325f370ff38
parent6c2ede266b1c2f58ddd928878ecd9f7b56dff3f9 (diff)
downloaddotfiles-1ced2a51864c0a1402267a08f88a142109a4391a.tar.gz
dotfiles-1ced2a51864c0a1402267a08f88a142109a4391a.zip
zshrc: added location to cache folder
-rw-r--r--zshrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/zshrc b/zshrc
index 1f168d4..2f4a5fb 100644
--- a/zshrc
+++ b/zshrc
@@ -1,6 +1,10 @@
# dotfiles -- zshrc
# author: johannst
+
+ZDOTDIR=$HOME/.cache/zsh
+[[ ! -d $ZDOTDIR ]] && mkdir -p $ZDOTDIR
+
# zshPlug -- simple GitHub plugin installer
# $1: [req] github repository