From 0b68fec8627868c9766293ef508373e4e19b6457 Mon Sep 17 00:00:00 2001 From: bretello Date: Tue, 8 Dec 2020 15:18:28 +0100 Subject: [PATCH] zsh: explain oh-my-zsh's ZSH variable --- brethil_dotfile.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/brethil_dotfile.sh b/brethil_dotfile.sh index 7bde156..3709bca 100755 --- a/brethil_dotfile.sh +++ b/brethil_dotfile.sh @@ -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