Closed bjesuiter closed 4 years ago
I think the fallback only works when using zsh from Homebrew. Not sure if there's really anything we can do to fix the issue since we don't want to start modifying filesystem permissions.
The error message outlines two possible fixes for your issue:
1. Check out the readme on how to do it manually: https://github.com/sindresorhus/pure#manually
2. Or add the following to your `.zshrc`:
fpath+=('/Users/bjesuiter/.nvm/versions/node/v14.15.0/lib/node_modules/pure-prompt/functions')
Thanks, I now settled with the fpath variant, even though this is dependent on the currently active node version.
Maybe it should be added to the readme, that the native macOS zsh may not work, regarding to symlinking / that this package is assumed to be used with the brew variant of zsh?
Thanks, I now settled with the fpath variant, even though this is dependent on the currently active node version.
Isn't that only because you're using nvm, though? Normally it'd be placed under /usr/local/lib/node_modules
in which case there's no tie-in with version. Unfortunately we can't support every possible software setup as people have their own preferences, that's why we have the manual instructions.
General information
System report (output of
prompt_pure_system_report
):can't load the tool, since it is not on my path currently
Other information
If you can't load Pure to create a system report, please report the following information:
I have:
Problem description
When Installing pure promt, I'll get the following error:
Reproduction step
My
.zshrc
:Probably not relevant to the problem, maybe more of a MacOS Write Permission issue / issue with permission to create symlinks?