From 4e8e220c43a03d55a8e4e310f520ecad3a5be4c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Geoffrey=20=E2=80=9CFrogeye=E2=80=9D=20Preud=27homme?= Date: Mon, 22 Apr 2019 20:45:47 +0200 Subject: [PATCH] git as a sync service --- config/shell/zshrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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