From 7652cd81e5d3f9db0f47c699b9f21dcaa54907dd Mon Sep 17 00:00:00 2001 From: bretello Date: Wed, 12 Feb 2020 17:54:07 +0100 Subject: [PATCH] replace antigen with antibody --- antibody_plugins.txt | 12 ++++++++++++ brethil_dotfile.sh | 40 ++++++---------------------------------- 2 files changed, 18 insertions(+), 34 deletions(-) create mode 100644 antibody_plugins.txt diff --git a/antibody_plugins.txt b/antibody_plugins.txt new file mode 100644 index 0000000..0a26ae3 --- /dev/null +++ b/antibody_plugins.txt @@ -0,0 +1,12 @@ +robbyrussell/oh-my-zsh +robbyrussell/oh-my-zsh path:plugins/git +robbyrussell/oh-my-zsh path:plugins/vi-mode +robbyrussell/oh-my-zsh path:plugins/kubectl +robbyrussell/oh-my-zsh path:plugins/common-aliases +robbyrussell/oh-my-zsh path:plugins/sudo +robbyrussell/oh-my-zsh path:plugins/zsh-navigation-tools +robbyrussell/oh-my-zsh path:plugins/colored-man-pages +zdharma/fast-syntax-highlighting +zsh-users/zsh-completions +zsh-users/zsh-autosuggestions +djui/alias-tips diff --git a/brethil_dotfile.sh b/brethil_dotfile.sh index 008dcb0..b6ce26f 100755 --- a/brethil_dotfile.sh +++ b/brethil_dotfile.sh @@ -1,38 +1,10 @@ # Check for update, set DISABLE_UPDATE_PROMPT=yes to disable the prompt and automatically update -env ZSH=$ZSH DISABLE_UPDATE_PROMPT=$DISABLE_UPDATE_PROMPT DOTFILES=$DOTFILES zsh -f $DOTFILES/check_for_update.sh +env DISABLE_UPDATE_PROMPT=$DISABLE_UPDATE_PROMPT DOTFILES=$DOTFILES zsh -f $DOTFILES/check_for_update.sh -# antigen plugins -antigen_plugins="git -vi-mode -common-alias -sudo -zsh-navigation-tools -colored-man-pages -zdharma/fast-syntax-highlighting -zsh-users/zsh-autosuggestions -djui/alias-tips -" - -uname=$(uname -a) -if [[ $uname == *"Darwin"* ]]; then - os_extra="osx" -elif [[ $uname == *"ARCH"* || $uname == *"MANJARO"* ]]; then - os_extra="archlinux systemd" -elif [[ $uname == *"Debian"* ]]; then - os_extra="debian systemd" -fi - -plugins="$antigen_plugins $os_extra" - -antigen use oh-my-zsh - -antigen bundles <