diff --git a/antibody_plugins_arch.txt b/antibody_plugins_arch.txt new file mode 100644 index 0000000..a6c511b --- /dev/null +++ b/antibody_plugins_arch.txt @@ -0,0 +1,2 @@ +robbyrussell/oh-my-zsh path:plugins/systemd +robbyrussell/oh-my-zsh path:plugins/archlinux diff --git a/brethil_dotfile.sh b/brethil_dotfile.sh index b6ce26f..edd7c03 100755 --- a/brethil_dotfile.sh +++ b/brethil_dotfile.sh @@ -4,8 +4,15 @@ env DISABLE_UPDATE_PROMPT=$DISABLE_UPDATE_PROMPT DOTFILES=$DOTFILES zsh -f $DOTF autoload -Uz compinit compinit ZSH=$(antibody path robbyrussell/oh-my-zsh) +source <(antibody init) +export ZSH=$(antibody path robbyrussell/oh-my-zsh) antibody bundle < $DOTFILES/antibody_plugins.txt +uname="$(uname -a)" +if [[ $uname == *"ARCH"* || $uname == *"MANJARO"* ]]; then + antibody bundle < $DOTFILES/antibody_plugins_arch.txt +fi + # Enable zsh autocorrection setopt CORRECT_ALL