Skip to content

Instantly share code, notes, and snippets.

@staplerfahrer
Created February 25, 2026 18:48
Show Gist options
  • Select an option

  • Save staplerfahrer/7f24aca399db01e9fbccdbb65cae49a3 to your computer and use it in GitHub Desktop.

Select an option

Save staplerfahrer/7f24aca399db01e9fbccdbb65cae49a3 to your computer and use it in GitHub Desktop.
PowerLine-like prompt for cmd.exe
- You need Cascadia Code PL
- Configure a new environment variable:
- variable name
prompt
- set value to
$E[7m$P$E[27m█
$E is the Esc code, so reverse is written like $E[7m and un-reverse is $E[27m
The rest of the prompt style are "private use" unicode characters.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment