diff --git a/config/shell/zshrc b/config/shell/zshrc index df47943..c9de7d5 100644 --- a/config/shell/zshrc +++ b/config/shell/zshrc @@ -15,7 +15,8 @@ ADOTDIR=~/.cache/antigen mkdir -p $ADOTDIR typeset -a ANTIGEN_CHECK_FILES=(~/.config/shell/zshrc) -source ~/.local/share/zsh/antigen.zsh # Don't work with trysource, why? +[ -f ~/.local/share/zsh/antigen.zsh ] || curl -L git.io/antigen > ~/.local/share/zsh/antigen.zsh +source ~/.local/share/zsh/antigen.zsh # This is better to have them installed as system since we can use them as root # pacman -S zsh-autosuggestions zsh-history-substring-search zsh-syntax-highlighting zsh-completions --needed