Skip to content

🧛🏻‍♂️ Dark theme for PowerShell and cmd.exe

License

Notifications You must be signed in to change notification settings

dracula/powershell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dracula for the PowerShell Console

A dark theme for the Windows 10 Console, supports both PowerShell and cmd.exe.

Screenshot

git integration is available only in powershell via posh-git

Installation

See our installation instructions here.

Support for other terminals

This repo also contains a theme for the new Windows Terminal from Microsoft, as well as a theme for ConEmu. An alternate version of the ConEmu theme is available at dracula/conemu.

Frequently Asked Questions

What's the PowerShell $profile file?
This is a PowerShell file that's run when a PowerShell session is started, similar to a .bashrc. Type $profile in a PowerShell window to see the path. See https://ss64.com/ps/syntax-profile.html for more detail.
After applying the theme, other consoles don't always have the right colors.
There are two possible reasons for this:
  1. Step 3 from the theme installation was not followed; it's a requirement for the way that the windows console properties save settings.
  2. The shortcut used to apply the theme was different from shortcut used to open the console.
    • The windows console stores its font / color settings in per-shortcut. You can see / delete the special cases in the registry. Go to \HKEY_CURRENT_USER\Console\ and delete the subkeys so the default values in the Console key are used.
What's that crazy cmd.exe prompt string?
The cmd.exe prompt value can be broken down into the following ANSI escape sequences:
  • E[1;32;40m - normal text with a green foreground and black background
  • - unicode arrow and space
  • $E[1;36;40m - normal text with a cyan foreground and black background
  • $p - current drive and path. See prompt /? output for additional values
  • $E[1;35;40m - normal text with a magenta foreground and black background
  • - unicode chevron and space
  • $E[1;37;40m - normal text with a white foreground and black background

Uninstallation

  1. Uninstall the colors:
    • Download and unzip the same archive you used to install the theme.
    • Run uninstall.cmd
  2. Uninstall the prompts:
    • PowerShell prompt: remove the configuration from your powershell $profile.
    • CMD.exe prompt: delete the prompt environment variable.

Team

This theme is maintained by the following person(s) and a bunch of awesome contributors.

Will Fuqua Zeno Rocha
Will Fuqua Zeno Rocha

Contributors

Tim Kilåker - Contributed an updated release of ColorTool.exe.

Community

  • Twitter - Best for getting updates about themes and new stuff.
  • GitHub - Best for asking questions and discussing issues.
  • Discord - Best for hanging out with the community.

License

MIT License