pure: `prompt pure` fails in OS X Yosemite

Looks like the pure theme is not available after npm install --global pure-prompt.

prompt -l
Currently available prompt themes:
adam1 adam2 bart bigfade clint elite2 elite fade fire off oliver pws redhat suse walters zefram

About this issue

  • Original URL
  • State: closed
  • Created 9 years ago
  • Reactions: 2
  • Comments: 27 (2 by maintainers)

Most upvoted comments

I’m thinking the best solution we can do for this (without requiring root permissions to install pure) is a post-install instruction with

sudo ln -s /usr/local/share/zsh/site-functions/{async,prompt_pure_setup} /usr/share/zsh/site-functions

depending on the environment, e.g. no /usr/local/bin/zsh present.

That did it, thanks! If anyone else faces this issue, add this to your .zshrc before prompt pure:

fpath+=("/usr/local/share/zsh/site-functions")