From 509d1ce09e65c54a98b332871d8d79abf7a8a0dc Mon Sep 17 00:00:00 2001 From: Bartek Stalewski Date: Wed, 10 Mar 2021 09:46:16 +0100 Subject: [PATCH] More compliant with XDG standards --- fd/ignore | 3 +-- install.sh | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/fd/ignore b/fd/ignore index 76988a8..060903e 100644 --- a/fd/ignore +++ b/fd/ignore @@ -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 diff --git a/install.sh b/install.sh index 62ae451..a892eef 100644 --- a/install.sh +++ b/install.sh @@ -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"