Problem with the initialization using OMP installed via Homebrew #2644
Closed
lewis-yeung
started this conversation in
General
Replies: 1 comment 1 reply
|
@lewis-yeung I'm using nu shell fulltime, how come I've not seen that? There's always the |
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.
For the time being, there is a problem with the initialization using Oh My Posh installed via Homebrew:
As we know, after an upgrade via Homebrew, the absolute path of the latest OMP executable will change due to the change of the version number. The absolute path is used in the initialization script, however the old path will become invalid after an upgrade, so it cannot render a prompt any more in the current shell. For other shells we just need to restart the shell to get it work again, while for Nushell this can be quite annoying since we have to run
oh-my-posh init nu ...manually to recreate a new script.All reactions