1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-11-21 19:11:30 +01:00

add conditional linux oh-my-zsh plugins loading

This commit is contained in:
bretello 2020-02-27 18:32:19 +01:00
parent 7652cd81e5
commit 38c3b21a85
2 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,2 @@
robbyrussell/oh-my-zsh path:plugins/systemd
robbyrussell/oh-my-zsh path:plugins/archlinux

View File

@ -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