Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Prerequisites
Description
🤖 Generated by Copilot at 0237901
This pull request enhances the
scm
segment for WSL users and adds a new option to customize the cache path for oh-my-posh. It also improves the code style and documentation of some files.How
🤖 Generated by Copilot at 0237901
OMP_CACHE_DIR
environment variable to set cache path for oh-my-posh (link)nativeFallback
field toscm
type to use native command as fallback when command.exe version is not available or fails (link)nativeFallback
is true inconvertToWindowsPath
function (link)nativeFallback
to true when native command is used as fallback inhasCommand
function (link)hasCommand
function with comment and add blank lines for readability (link, link)branchName
function (link)