Auto creating of ~/.cache.
This commit is contained in:
parent
3ea2383835
commit
d649581778
@ -8,7 +8,7 @@ git clone --recurse https://git.insomniac.pl/ftpd/dotfiles ~/.local/repos/dotfil
|
|||||||
# clean + prepare local dirs
|
# clean + prepare local dirs
|
||||||
rm -rf ~/.cache ~/.config/_cache ~/.config/vim ~/.config/zsh
|
rm -rf ~/.cache ~/.config/_cache ~/.config/vim ~/.config/zsh
|
||||||
rm -rf ~/.fdignore ~/.fzf.bash ~/.fzf.zsh ~/.gitconfig ~/.gitignore ~/.history ~/.tmux.conf ~/.vim* ~/.zcomp* ~/.zsh*
|
rm -rf ~/.fdignore ~/.fzf.bash ~/.fzf.zsh ~/.gitconfig ~/.gitignore ~/.history ~/.tmux.conf ~/.vim* ~/.zcomp* ~/.zsh*
|
||||||
mkdir -p ~/.config ~/.local/settings
|
mkdir -p ~/.cache/ ~/.config ~/.local/settings
|
||||||
|
|
||||||
## neovim
|
## neovim
|
||||||
rm -rf ~/.config/nvim
|
rm -rf ~/.config/nvim
|
||||||
@ -37,7 +37,6 @@ case $(uname -s) in
|
|||||||
esac
|
esac
|
||||||
echo "export XDG_CONFIG_HOME=$HOME/.config" >> $HOME/.zshenv
|
echo "export XDG_CONFIG_HOME=$HOME/.config" >> $HOME/.zshenv
|
||||||
echo "export ZDOTDIR=$HOME/.config/zsh" >> $HOME/.zshenv
|
echo "export ZDOTDIR=$HOME/.config/zsh" >> $HOME/.zshenv
|
||||||
rm -rf ~/.bash* ~/.profile
|
|
||||||
rm -rf ~/.config/zsh
|
rm -rf ~/.config/zsh
|
||||||
ln -sf ~/.local/repos/dotfiles/zsh ~/.config/
|
ln -sf ~/.local/repos/dotfiles/zsh ~/.config/
|
||||||
touch ~/.local/settings/zsh
|
touch ~/.local/settings/zsh
|
||||||
|
@ -13,6 +13,7 @@ setopt SHARE_HISTORY
|
|||||||
export LESSHISTFILE='/dev/null'
|
export LESSHISTFILE='/dev/null'
|
||||||
|
|
||||||
mkdir -p $XDG_DATA_HOME/zsh
|
mkdir -p $XDG_DATA_HOME/zsh
|
||||||
|
mkdir -p $XDG_CACHE_HOME/zsh
|
||||||
zstyle ':completion:*' menu select
|
zstyle ':completion:*' menu select
|
||||||
zstyle ':completion:*' list-colors ''
|
zstyle ':completion:*' list-colors ''
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user