Cache on tmpfs, second approach.
This commit is contained in:
parent
32a89b5a09
commit
a5b19089c1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user