[zsh] replace antibody by sheldon

This commit is contained in:
Julien Rabier 2020-12-15 20:56:18 +01:00
parent 3baec6906d
commit 977bc2b4cf
2 changed files with 1 additions and 10 deletions

View File

@ -50,15 +50,6 @@ if [ ! "$SHELL" = "/bin/zsh" ]; then
sudo usermod "$USER" -s /bin/zsh && echo "Nouveau shell: zsh" sudo usermod "$USER" -s /bin/zsh && echo "Nouveau shell: zsh"
fi fi
if ! [ -d "$HOME/.cache/antibody" ]; then
echo "Installation d'antibody"
curl -sfL git.io/antibody -o /tmp/antibody.sh
chmod +x /tmp/antibody.sh
/tmp/antibody.sh -b "$HOME/.bin"
rm /tmp/antibody.sh
mkdir -p "$HOME/.cache/antibody"
fi
if [ ! -x "$HOME/.bin/chezmoi" ]; then if [ ! -x "$HOME/.bin/chezmoi" ]; then
echo "Installation de chezmoi" echo "Installation de chezmoi"
mkdir -p "$HOME/.bin" mkdir -p "$HOME/.bin"
@ -80,6 +71,6 @@ else
echo "Mise à jour des dotfiles" echo "Mise à jour des dotfiles"
"$HOME/.bin/chezmoi" update -v "$HOME/.bin/chezmoi" update -v
echo "Mise à jour des plugins ZSH" echo "Mise à jour des plugins ZSH"
"$HOME/.bin/antibody" update "$HOME/.bin/sheldon" lock --update
mkdir -p "$HOME/.vim/backup" mkdir -p "$HOME/.vim/backup"
fi fi

BIN
dot_bin/executable_sheldon Executable file

Binary file not shown.