From a6a927e6d83ff4174348c11d6ec296c199858644 Mon Sep 17 00:00:00 2001 From: bretello Date: Thu, 8 Apr 2021 19:56:49 +0200 Subject: [PATCH] zsh: add add antibody extras, cleanup plugins.txt export _DOTFILES_EXTRA_PLUGINS=true to load plugins in `antibody_plugins_extra.txt` --- antibody_plugins.txt | 12 ++++++------ antibody_plugins_extra.txt | 2 ++ brethil_dotfile.sh | 3 +++ 3 files changed, 11 insertions(+), 6 deletions(-) create mode 100644 antibody_plugins_extra.txt diff --git a/antibody_plugins.txt b/antibody_plugins.txt index 42015e2..6505009 100644 --- a/antibody_plugins.txt +++ b/antibody_plugins.txt @@ -1,17 +1,17 @@ +djui/alias-tips +MichaelAquilina/zsh-autoswitch-virtualenv +psprint/zsh-navigation-tools robbyrussell/oh-my-zsh robbyrussell/oh-my-zsh path:plugins/colored-man-pages robbyrussell/oh-my-zsh path:plugins/common-aliases robbyrussell/oh-my-zsh path:plugins/docker robbyrussell/oh-my-zsh path:plugins/docker-compose -robbyrussell/oh-my-zsh path:plugins/grc robbyrussell/oh-my-zsh path:plugins/git -#robbyrussell/oh-my-zsh path:plugins/kubectl +robbyrussell/oh-my-zsh path:plugins/grc +robbyrussell/oh-my-zsh path:plugins/pip +robbyrussell/oh-my-zsh path:plugins/pyenv robbyrussell/oh-my-zsh path:plugins/sudo robbyrussell/oh-my-zsh path:plugins/vi-mode -robbyrussell/oh-my-zsh path:plugins/pyenv -djui/alias-tips -psprint/zsh-navigation-tools zdharma/fast-syntax-highlighting zsh-users/zsh-autosuggestions zsh-users/zsh-completions -MichaelAquilina/zsh-autoswitch-virtualenv diff --git a/antibody_plugins_extra.txt b/antibody_plugins_extra.txt new file mode 100644 index 0000000..557917f --- /dev/null +++ b/antibody_plugins_extra.txt @@ -0,0 +1,2 @@ +robbyrussell/oh-my-zsh path:plugins/kubectl +robbyrussell/oh-my-zsh path:plugins/jira diff --git a/brethil_dotfile.sh b/brethil_dotfile.sh index 5aa9019..a75ac81 100755 --- a/brethil_dotfile.sh +++ b/brethil_dotfile.sh @@ -19,6 +19,9 @@ uname="$(uname -a)" if [[ $uname == *"ARCH"* || $uname == *"MANJARO"* ]]; then antibody bundle < "$DOTFILES/antibody_plugins_arch.txt" fi +if [[ -n "$_DOTFILES_EXTRA_PLUGINS" ]]; then + antibody bundle < "$DOTFILES/antibody_plugins_extra.txt" +fi # Setup oh-my-zsh path export ZSH="$(antibody path robbyrussell/oh-my-zsh)"