More compliant with XDG standards
This commit is contained in:
parent
261e3d6976
commit
509d1ce09e
@ -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
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user