#!/bin/sh

go get github.com/motemen/ghq &&
go get github.com/peco/peco/cmd/peco &&
vim +PluginInstall +qall

git clone https://github.com/zsh-users/antigen.git $HOME/.antigen

#!/bin/sh

go get github.com/motemen/ghq &&
go get github.com/peco/peco/cmd/peco &&
vim +PluginInstall +qall &&

antigen_dir=$HOME/.antigen

if ! [ -d "$antigen_dir" ]
then
  git clone https://github.com/zsh-users/antigen.git "$antigen_dir"
fi

Clone antigen only when it doesn't exist
Clone antigen only when it doesn't exist
