Skip to content

docs: add PowerShell prompt compatibility note to README#1258

Open
LingyeNBird wants to merge 1 commit into
ajeetdsouza:mainfrom
LingyeNBird:docs/powershell-prompt-compatibility-note
Open

docs: add PowerShell prompt compatibility note to README#1258
LingyeNBird wants to merge 1 commit into
ajeetdsouza:mainfrom
LingyeNBird:docs/powershell-prompt-compatibility-note

Conversation

@LingyeNBird

Copy link
Copy Markdown

Add a note to the PowerShell installation section explaining that zoxide must be initialized after prompt theme tools (e.g. oh-my-posh, starship, posh-git) in the user profile.

This limitation is unique to PowerShell because it uses a single prompt function that gets overwritten by the last initialization. Other shells like Bash and Zsh use array-based hook mechanisms (PROMPT_COMMAND / precmd_functions) and are not affected.

Closes: #74, #877, #1021

Add a note explaining that zoxide must be initialized after prompt theme tools (e.g. oh-my-posh, starship, posh-git) in PowerShell. This limitation is unique to PowerShell; other shells like Bash and Zsh use array-based hook mechanisms and are not affected.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Conflict with Starship

1 participant