Install Completion oh-my-posh compatible? #734
Unanswered
JPHutchins
asked this question in
Questions
Replies: 0 comments
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.
-
First Check
Commit to Help
Example Code
# NA
Description
--install completion
on a Typer appUsers/<user>/Documents/PowerShell/Microsoft.PowerShell_profile.ps1
It sorta looks like the installation of completion correctly appends to the file, but it doesn't open with a newline. This is invalid PS syntax. It is corrected by simply prefixing the completion script with a newline:
Should Typer be opening with a newline, just in case? FYI, oh-my-posh is widely used 😄 https://github.com/JanDeDobbeleer/oh-my-posh
Operating System
Windows
Operating System Details
Windows 11
Typer Version
0.9.0
Python Version
3.12.0
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions