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

feature/symbol-search
bretello 2020-12-08 15:18:28 +01:00
parent 8f599cc5cc
commit 0b68fec862
Signed by: brethil
GPG Key ID: 876AAC6290170FE7
1 changed files with 3 additions and 1 deletions

View File

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