Would be great if users will have ability to install Spaceship using Homebrew. Don't know how to do this. Can anyone help?
This doesn't really seem to be a solution for brew to install, it seems like the current support for zsh-specific plugin managers is a good solution.
@jwkicklighter That does also count for npm then? I think options like npm and brew make it much faster / easier to install a theme. Especially if you are not familiar with zsh plugin managers.
I think brew is nice and we definitely need to give users a possibility to install 馃殌 via this tool.
Any advance in this guys? im having problems installing it by npm
I don't think so, Any help with this is highly appreciated.
having problems installing it by npm
Could you please open a new issue with the details ?
Yes, thanks for the fast reply!
Homebrew don't allow direct write to /usr/local/share/zsh-functions. So, I had to copy install sections and lib folders to the destination as zsh_function. Can you guys test it ?
We could submit to homebrew-core or maintain as tap.
brew install salmanulfarzy/spaceship-prompt/spaceship-prompt
Homebrew Formula : https://github.com/salmanulfarzy/homebrew-spaceship-prompt/blob/master/Formula/spaceship-prompt.rb
@salmanulfarzy what about git clone to ~/.zfunctions folder?
@salmanulfarzy what about git clone to ~/.zfunctions folder?
I haven't tried with ~/.zfunctions. Because installation to ~/.zfunctions is required only if user don't have access to /usr/local/share/zsh/site-functions (In case of non-root Linux user). Here Homebrew allows us to write there as zsh_function, But not directly.
If writing to ~/.zfunctions is possible with Homebrew, Then it might also require user to modify $fpath.
Problem with the current approach I've followed is if user have similarly named directories at zsh/site-functions, It's going to break the prompt.
Most helpful comment
I think
brewis nice and we definitely need to give users a possibility to install 馃殌 via this tool.