Cache on tmpfs, second approach.
This commit is contained in:
parent
32a89b5a09
commit
a5b19089c1
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue