OhMyPosh-Atomic-Enhanced

OhMyPosh-Atomic-Enhanced made by Typpi / Nick2bad4u

View on GitHub

Security & Privacy

This repository does not store secrets. Oh My Posh reads credentials directly from environment variables (for example API keys for weather/music/fitness integrations).

External network calls

Some segments and tooltips are configured to make outbound HTTP requests to enrich the prompt. Common examples in this repo:

These calls are typically protected with timeouts and caching in the theme config, but they are still outbound requests.

Use the included script to generate a NoNetwork variant of a theme that removes all segments/tooltips that can make outbound requests.

Examples (run from repo root):

# Create an offline variant of the main theme
pwsh ./scripts/Make-NoNetwork.ps1 -SourceTheme ./OhMyPosh-Atomic-Custom.json

# Create an offline variant of the ExperimentalDividers theme
pwsh ./scripts/Make-NoNetwork.ps1 -SourceTheme ./OhMyPosh-Atomic-Custom-ExperimentalDividers.json

The script will output a sibling file with the suffix .NoNetwork.json.

Then use the generated config:

oh-my-posh init pwsh --config .\OhMyPosh-Atomic-Custom.NoNetwork.json | Invoke-Expression

Disabling network calls (manual)

If you prefer to edit JSON directly, remove (or disable) segments/tooltips with these types:

Reporting security issues

If you believe you have found a security issue (for example: a secret committed to the repo, or a workflow vulnerability), please open a GitHub issue with details and remove/rotate any affected credentials immediately.