Switch from Antigen to Zgenom

This commit is contained in:
Correl Roush 2023-05-01 18:01:53 -04:00
parent 4a9bb7585d
commit ede1e11002

35
.zshrc
View file

@ -8,34 +8,23 @@ if [[ $TERM == "dumb" ]]; then # in emacs
unfunction precmd unfunction precmd
unfunction preexec unfunction preexec
else else
if [ ! -d $HOME/.zgenom ]; then
if [ ! -d $HOME/antigen ]; then git clone https://github.com/jandamm/zgenom.git "${HOME}/.zgenom"
git clone https://github.com/zsh-users/antigen.git $HOME/antigen
fi fi
source $HOME/.zgenom/zgenom.zsh
if ! zgenom saved; then
zgenom ohmyzsh
zgenom ohmyzsh plugins/git
zgenom ohmyzsh plugins/git-extras
zgenom ohmyzsh plugins/pip
zgenom ohmyzsh plugins/pass
zgenom ohmyzsh plugins/ssh-agent
source $HOME/antigen/antigen.zsh zgenom loadall <<EOF
# Load the oh-my-zsh library
antigen use oh-my-zsh
antigen bundles <<EOF
git
git-extras
git-remote-branch
pip
ssh-agent
nojhan/liquidprompt nojhan/liquidprompt
zsh-users/zsh-syntax-highlighting zsh-users/zsh-syntax-highlighting
EOF EOF
fi
# Themes
# antigen-theme kphoen
antigen apply
unsetopt correct_all unsetopt correct_all
fi fi