More compliant with XDG standards

This commit is contained in:
Bartek Stalewski 2021-03-10 09:46:16 +01:00
parent 261e3d6976
commit 509d1ce09e
2 changed files with 2 additions and 4 deletions

View File

@ -1,7 +1,6 @@
*.swp
*~
.*history*
.config/_cache
.config/nvim/autoload
.config/zsh/modules
.config/zsh/.zsh_sessions
@ -9,7 +8,7 @@
.dotfiles/zsh/modules
nvim/autoload
zsh/modules
_cache
.cache
.git*
.ssh/known_hosts
.vim

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 ~/.config/_cache/zsh ~/.config/git ~/.config/local
mkdir -p ~/.cache/zsh ~/.config/git ~/.config/local
## neovim
ln -sf ~/.dotfiles/nvim ~/.config/
@ -31,4 +31,3 @@ echo "export XDG_CACHE_HOME=~/.cache" >> ~/.zshenv
echo "export XDG_CONFIG_HOME=~/.config" >> ~/.zshenv
echo "export ZDOTDIR=~/.config/zsh" >> ~/.zshenv
ln -sf ~/.dotfiles/zsh ~/.config/
mkdir -p "$XDG_DATA_HOME/zsh"