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

zsh: explain oh-my-zsh's ZSH variable

This commit is contained in:
bretello 2020-12-08 15:18:28 +01:00
parent 8f599cc5cc
commit 0b68fec862
Signed by: brethil
GPG Key ID: 876AAC6290170FE7

View File

@ -14,12 +14,14 @@ if [[ ! -d "${HOME}/.cache/zsh" ]]; then mkdir "${HOME}/.cache/zsh"; fi
# Source all zsh plugins # Source all zsh plugins
source <(antibody init) source <(antibody init)
antibody bundle < "$DOTFILES/antibody_plugins.txt" antibody bundle < "$DOTFILES/antibody_plugins.txt"
export ZSH="$(antibody path robbyrussell/oh-my-zsh)"
uname="$(uname -a)" uname="$(uname -a)"
if [[ $uname == *"ARCH"* || $uname == *"MANJARO"* ]]; then if [[ $uname == *"ARCH"* || $uname == *"MANJARO"* ]]; then
antibody bundle < "$DOTFILES/antibody_plugins_arch.txt" antibody bundle < "$DOTFILES/antibody_plugins_arch.txt"
fi fi
# Setup oh-my-zsh path
export ZSH="$(antibody path robbyrussell/oh-my-zsh)"
# Enable zsh autocorrection # Enable zsh autocorrection
setopt CORRECT_ALL setopt CORRECT_ALL