21 lines
745 B
Markdown
21 lines
745 B
Markdown
zsh
|
|
===
|
|
|
|
Zsh configuration using zgen.
|
|
|
|
How to use:
|
|
- fork
|
|
- add branch named as your user
|
|
- copy `USER.zsh`, `USER.plugins`, `USER.theme` and `USER.completions` as `${USER}.zsh`, `${USER}.plugins`, `${USER}.theme` and `${USER}.completions`, customize and push
|
|
- change {{{zsh_config_repo}}} in {{{zshrc}}} and set it in your current shell
|
|
- run:
|
|
|
|
```
|
|
$ zsh_config_repo=https://forgejo.audin.me/maudin/zsh.git
|
|
$ git clone https://github.com/tarjoilija/zgen.git "${HOME}/.zgen"
|
|
$ source ${HOME}/.zgen/zgen.zsh
|
|
$ zgen clone ${zsh_config_repo:-https://forgejo.audin.me/maudin/zsh.git} ${USER}
|
|
$ ln -sf ${HOME}/.zgen/https-COLON--SLASH--SLASH-forgejo.audin.me-SLASH-maudin/zsh.git-${USER}/zshrc $HOME/.zshrc
|
|
$ zgen reset
|
|
$ source ${HOME}/.zshrc
|
|
```
|