Cache on tmpfs, second approach.

This commit is contained in:
Bartek Stalewski 2022-05-15 17:25:55 +02:00
parent 32a89b5a09
commit a5b19089c1

View File

@ -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