About installation via Homebrew #2023
Closed
lewis-yeung
started this conversation in
General
Replies: 1 comment 1 reply
|
I'll check but the only real one is the my repo. That one is under control, there's no proper automation for core. I'll adjust the docs. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I have recently tried to use an installation via Homebrew. I read the documentation and noticed that it says an OMP executable will be installed to
$(brew --prefix). However, it seems that the executable is actually installed to$(brew --prefix)/bindue to this.Should we correct it in the documentation?
I also noticed the following:
and a piece of description:
There is something interesting. After installing OMP by running the commands above, I found the themes installed in
$(brew --prefix)/share/oh-my-posh/themesinstead of$(brew --prefix)/oh-my-posh/themes. I felt confused but soon I realized that a formula of OMP is in homebrew-core, sobrew install oh-my-poshinstalled OMP via Homebrew/homebrew-core instead of jandedobbeleer/homebrew-oh-my-posh, even though I usedbrew tap jandedobbeleer/oh-my-posh. It seems that is related to this.Maybe we can just add another piece of description about this case to prevent other users from getting confused just like me.
If I use
brew install jandedobbeleer/oh-my-posh/oh-my-posh, it will try to install OMP by building from source. However, this needs a Go installation via Homebrew as a dependency,and unfortunately, I can't find a way to make it use my ownThe user-definedGOPROXYenv since the default (proxy.golang.org) is unavailable in my working environment.GOPROXYis now supported (JanDeDobbeleer/homebrew-oh-my-posh#9).All reactions