Moving XDG stuff to .zshenv
This commit is contained in:
parent
69e71dd79d
commit
2a973f2438
@ -24,6 +24,8 @@ ln -sf ~/.dotfiles/tmux ~/.config/
|
|||||||
|
|
||||||
## zsh
|
## zsh
|
||||||
echo "skip_global_compinit=1" > ~/.zshenv
|
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
|
echo "export ZDOTDIR=~/.config/zsh" >> ~/.zshenv
|
||||||
mkdir -p ~/.cache/zsh ~/.config/zsh/plugins ~/.config/zsh/themes
|
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
|
git clone https://github.com/zsh-users/zsh-autosuggestions.git ~/.config/zsh/plugins/zsh-autosuggestions
|
||||||
|
@ -1,6 +1,3 @@
|
|||||||
export XDG_CONFIG_HOME=~/.config
|
|
||||||
export XDG_DATA_HOME=~/.cache
|
|
||||||
|
|
||||||
bindkey -e
|
bindkey -e
|
||||||
autoload -U promptinit && promptinit
|
autoload -U promptinit && promptinit
|
||||||
autoload -U compinit && compinit -d $XDG_DATA_HOME/zsh/zcompdump
|
autoload -U compinit && compinit -d $XDG_DATA_HOME/zsh/zcompdump
|
||||||
|
Loading…
Reference in New Issue
Block a user