mirror of
https://github.com/correl/dotfiles.git
synced 2024-11-21 19:18:41 +00:00
Switch from Antigen to Zgenom
This commit is contained in:
parent
4a9bb7585d
commit
ede1e11002
1 changed files with 12 additions and 23 deletions
35
.zshrc
35
.zshrc
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue