Zplug: Unable to load soring theme.

Created on 11 Aug 2017  路  5Comments  路  Source: zplug/zplug

  • Type:

    • [X] Bug

    • [ ] Enhancement

    • [ ] Feature Request

    • [ ] Question


  • zplug --version: 2.4.1
  • zsh --version: zsh 5.3.1 (x86_64-apple-darwin16.6.0)
  • git --version: 2.13.4

  • uname -a: Darwin somehostname 16.7.0 Darwin Kernel Version 16.7.0: Thu Jun 15 17:36:27 PDT 2017; root:xnu-3789.70.16~2/RELEASE_X86_64 x86_64

# .zshrc
source ~/.zplug/init.zsh

zplug 'modules/prompt', from:prezto
zstyle ':prezto:*:*' color 'yes'
zstyle ':prezto:module:prompt' theme 'sorin'

# Install plugins if there are plugins that have not been installed
if ! zplug check; then
    printf "Install new zplug-plugins? [y/N]: "
    if read -q; then
        echo; zplug install
    fi
fi

# Then, source plugins and add commands to $PATH
zplug load

Step to reproduce

When trying to use the sorin-theme, I get the following error message:

$ prompt sorin
prompt_sorin_setup:33: command not found: pmodload
prompt_sorin_git_info:6: command not found: coalesce
areprezto kinusage

Most helpful comment

I had the same issue. It turns out that the prezto prompt module depends on the prezto git module.
I fixed it by plugging the git module from prezto before loading the theme.
Now it works like a charm.
Relevant code:

zplug "modules/git", from:prezto

zplug "modules/prompt", from:prezto

zstyle ':prezto:module:prompt' theme 'sorin'

All 5 comments

@sorin-ionescu could I kindly ask that you have a look at this issue?
I'd love to use your theme.

I had the same issue. It turns out that the prezto prompt module depends on the prezto git module.
I fixed it by plugging the git module from prezto before loading the theme.
Now it works like a charm.
Relevant code:

zplug "modules/git", from:prezto

zplug "modules/prompt", from:prezto

zstyle ':prezto:module:prompt' theme 'sorin'

I just tried @JessTheBell's suggestion.
Made sure that I have zplug "modules/git", from:prezto enabled.
Completely nuked ~/.zplug and reinstalled.
Zsh force closes now.
Rolling back to previous config and reinstalling zplug fixes the force closes.

This is not working for me anymore. Does it work for you?

Still seeing the error. The above suggestions did not fix.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ghost picture ghost  路  8Comments

felixjung picture felixjung  路  7Comments

la-magra picture la-magra  路  4Comments

kdheepak picture kdheepak  路  10Comments

grexe picture grexe  路  3Comments