diff --git a/install.sh b/install.sh index 21a78b8..f33c2a3 100644 --- a/install.sh +++ b/install.sh @@ -24,6 +24,8 @@ ln -sf ~/.dotfiles/tmux ~/.config/ ## zsh echo "skip_global_compinit=1" > ~/.zshenv +echo "export XDG_CONFIG_HOME='~/.config'" >> ~/.zshenv +echo "export XDG_DATA_HOME='~/.cache'" >> ~/.zshenv echo "export ZDOTDIR=~/.config/zsh" >> ~/.zshenv mkdir -p ~/.cache/zsh ~/.config/zsh/plugins ~/.config/zsh/themes git clone https://github.com/zsh-users/zsh-autosuggestions.git ~/.config/zsh/plugins/zsh-autosuggestions diff --git a/zsh/zshrc b/zsh/zshrc index acd743b..9634d71 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -1,6 +1,3 @@ -export XDG_CONFIG_HOME=~/.config -export XDG_DATA_HOME=~/.cache - bindkey -e autoload -U promptinit && promptinit autoload -U compinit && compinit -d $XDG_DATA_HOME/zsh/zcompdump