migrate to zgen
This commit is contained in:
parent
32cee960c6
commit
fb806b9b5e
2 changed files with 31 additions and 33 deletions
15
README.md
15
README.md
|
|
@ -1,15 +1,12 @@
|
||||||
zsh
|
zsh
|
||||||
===
|
===
|
||||||
|
|
||||||
Zsh configuration using antigen. Clone in ~/.zsh and do
|
Zsh configuration using zgen.
|
||||||
|
|
||||||
```
|
```
|
||||||
$ cd /tmp/
|
$ git clone https://github.com/tarjoilija/zgen.git "${HOME}/.zgen"
|
||||||
$ git clone https://github.com/zsh-users/antigen.git
|
$ source ${HOME}/.zgen/zgen.zsh
|
||||||
$ cd antigen
|
$ zgen clone hybris42/zsh
|
||||||
$ source antigen.zsh
|
$ ln -s ${HOME}/.zgen/hybris42/zsh-master/zshrc $HOME/.zshrc
|
||||||
$ antigen bundle zsh-users/antigen
|
$ source ${HOME}/.zshrc
|
||||||
$ antigen bundle hybris42/zsh
|
|
||||||
$ cd
|
|
||||||
$ ln -s $HOME/.antigen/repos/https-COLON--SLASH--SLASH-github.com-SLASH-hybris42-SLASH-zsh.git/zshrc $HOME/.zshrc
|
|
||||||
```
|
```
|
||||||
|
|
|
||||||
49
zshrc
49
zshrc
|
|
@ -1,28 +1,29 @@
|
||||||
source $HOME/.antigen/repos/https-COLON--SLASH--SLASH-github.com-SLASH-zsh-users-SLASH-antigen.git/antigen.zsh
|
# load zgen
|
||||||
|
source "${HOME}/.zgen/zgen.zsh"
|
||||||
|
|
||||||
antigen use oh-my-zsh
|
# if the init scipt doesn't exist
|
||||||
antigen bundle zsh-users/antigen
|
if ! zgen saved; then
|
||||||
|
|
||||||
antigen bundles <<EOBUNDLES
|
# specify plugins here
|
||||||
# omz
|
zgen oh-my-zsh
|
||||||
colored-man-pages
|
zgen oh-my-zsh plugins/colored-man-pages
|
||||||
colorize
|
zgen oh-my-zsh plugins/colorize
|
||||||
copydir
|
zgen oh-my-zsh plugins/copydir
|
||||||
copyfile
|
zgen oh-my-zsh plugins/copyfile
|
||||||
extract
|
zgen oh-my-zsh plugins/extract
|
||||||
git
|
zgen oh-my-zsh plugins/git
|
||||||
jump
|
zgen oh-my-zsh plugins/jump
|
||||||
rsync
|
zgen oh-my-zsh plugins/rsync
|
||||||
ssh-agent
|
zgen oh-my-zsh plugins/ssh-agent
|
||||||
systemadmin
|
zgen oh-my-zsh plugins/systemadmin
|
||||||
web-search
|
zgen oh-my-zsh plugins/web-search
|
||||||
z
|
zgen oh-my-zsh plugins/z
|
||||||
zsh_reload
|
zgen oh-my-zsh plugins/zsh_reload
|
||||||
|
|
||||||
# local
|
# personnal configuration
|
||||||
hybris42/zsh
|
zgen load hybris42/zsh hybris.plugin.zsh
|
||||||
EOBUNDLES
|
zgen load hybris42/zsh hybris.zsh-theme
|
||||||
|
|
||||||
antigen theme hybris42/zsh hybris
|
# generate the init script from plugins above
|
||||||
|
zgen save
|
||||||
antigen apply
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue