mirror of
https://git.decapod.one/brethil/dotfiles
synced 2024-11-22 11:31:30 +01:00
add conditional linux oh-my-zsh plugins loading
This commit is contained in:
parent
7652cd81e5
commit
38c3b21a85
2
antibody_plugins_arch.txt
Normal file
2
antibody_plugins_arch.txt
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
robbyrussell/oh-my-zsh path:plugins/systemd
|
||||||
|
robbyrussell/oh-my-zsh path:plugins/archlinux
|
|
@ -4,8 +4,15 @@ env DISABLE_UPDATE_PROMPT=$DISABLE_UPDATE_PROMPT DOTFILES=$DOTFILES zsh -f $DOTF
|
||||||
autoload -Uz compinit
|
autoload -Uz compinit
|
||||||
compinit
|
compinit
|
||||||
ZSH=$(antibody path robbyrussell/oh-my-zsh)
|
ZSH=$(antibody path robbyrussell/oh-my-zsh)
|
||||||
|
source <(antibody init)
|
||||||
|
export ZSH=$(antibody path robbyrussell/oh-my-zsh)
|
||||||
antibody bundle < $DOTFILES/antibody_plugins.txt
|
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
|
# Enable zsh autocorrection
|
||||||
setopt CORRECT_ALL
|
setopt CORRECT_ALL
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user