diff --git a/README.md b/README.md index 1a22ff2..a7e29cf 100644 --- a/README.md +++ b/README.md @@ -59,6 +59,8 @@ It's a good idea to load the base components before specifying any plugins. This will create a symlink in the `ZSHDOT` or `HOME` directory. This is needed by prezto. +**Note**: When `zgen prezto` is used with `zgen oh-my-zsh` together, `zgen prezto` should be **put behind** the other. Or prompt theme from prezto may not display as expected. + #### Load prezto plugins zgen prezto diff --git a/zgen.zsh b/zgen.zsh index c5c4c1b..48200dd 100755 --- a/zgen.zsh +++ b/zgen.zsh @@ -316,11 +316,7 @@ zgen-apply() { } -zgen-get-zsh(){ - if [[ ${ZGEN_USE_PREZTO} == 1 ]]; then - -zgputs "$(-zgen-get-clone-dir "$ZGEN_PREZTO_REPO" "$ZGEN_PREZTO_BRANCH")" - else - -zgputs "$(-zgen-get-clone-dir "$ZGEN_OH_MY_ZSH_REPO" "$ZGEN_OH_MY_ZSH_BRANCH")" - fi + -zgputs "$(-zgen-get-clone-dir "$ZGEN_OH_MY_ZSH_REPO" "$ZGEN_OH_MY_ZSH_BRANCH")" } zgen-load() {