More compliant with XDG standards

This commit is contained in:
Bartek Stalewski 2021-03-11 16:53:35 +01:00
parent 377c434bdb
commit d2549aa5d5
3 changed files with 4 additions and 3 deletions

View file

@ -8,7 +8,7 @@ rm -rf ~/.fdignore ~/.fzf.bash ~/.fzf.zsh ~/.gitconfig ~/.gitignore ~/.history ~
# repo + preparations
git clone --recurse https://github.com/ftpd/dotfiles.git ~/.dotfiles
mkdir -p ~/.cache/zsh ~/.config/git ~/.config/local
mkdir -p ~/.config/git ~/.config/local
## neovim
ln -sf ~/.dotfiles/nvim ~/.config/
@ -26,7 +26,7 @@ ln -sf ~/.dotfiles/tmux ~/.config/
## zsh
echo "skip_global_compinit=1" > $HOME/.zshenv
echo "export XDG_DATA_HOME=$HOME/.cache" >> $HOME/.zshenv
echo "export XDG_DATA_HOME=$HOME/.local/share" >> $HOME/.zshenv
echo "export XDG_CACHE_HOME=$HOME/.cache" >> $HOME/.zshenv
echo "export XDG_CONFIG_HOME=$HOME/.config" >> $HOME/.zshenv
echo "export ZDOTDIR=$HOME/.config/zsh" >> $HOME/.zshenv