From a5b19089c13000d85f78bdff1bf7d3dd87e570e0 Mon Sep 17 00:00:00 2001 From: Bartek Stalewski Date: Sun, 15 May 2022 17:25:55 +0200 Subject: [PATCH] Cache on tmpfs, second approach. --- install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 3fcbf17..a3fa64c 100644 --- a/install.sh +++ b/install.sh @@ -1,9 +1,10 @@ #!/bin/sh # clean + prepare local dirs -rm -rf ~/.cache ~/.config/_cache +rm -rf ~/.cache /tmp/${USER}-cache ~/.config/_cache rm -rf ~/.fdignore ~/.fzf.bash ~/.fzf.zsh ~/.gitconfig ~/.gitignore ~/.history ~/.tmux.conf ~/.vim* ~/.zcomp* ~/.zsh* mkdir -p /tmp/${USER}-cache/ ~/.config ~/.local/bin ~/.local/share ~/.local/config +chmod 700 /tmp/${USER}-cache # prepare global variables echo "skip_global_compinit=1" > $HOME/.zshenv