Skip to content

Commit b3e96ba

Browse files
authored
Sync INSTALL.md with instructions in the README
1 parent 9ba909a commit b3e96ba

File tree

1 file changed

+39
-11
lines changed

1 file changed

+39
-11
lines changed

INSTALL.md

Lines changed: 39 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,25 +4,53 @@ A dark theme for the Windows 10 Console, supports both PowerShell and cmd.exe.
44

55
#### Theme Installation
66

7-
1. [Download and unzip](https://raw.githubusercontent.com/dracula/powershell/master/dist/ColorTool.zip) ColorTool. The [source code](https://github.com/Microsoft/console/tree/master/tools/ColorTool) is available from Microsoft.
8-
2. Open PowerShell, navigate to unzipped `ColorTool` directory, and run `ColorTool.exe -b Dracula.ini`.
9-
3. Right-click on the window titlebar and choose `Properties`, then on the `Font` tab choose Consolas. Click `OK` to save.
10-
* Note that this step is required, even if your font is already set to Consolas, due to the way that the windows console saves its settings.
7+
## Installation
8+
9+
There are 4 parts to configure; all of them are optional:
10+
11+
12+
<details><summary><strong>Colors Installation</strong></summary>
13+
<p>
14+
15+
1. [Download and unzip](https://raw.githubusercontent.com/waf/dracula-cmd/master/dist/ColorTool.zip) ColorTool. The [source code](https://github.com/Microsoft/Terminal/tree/master/src/tools/ColorTool) is available from Microsoft.
16+
1. Open PowerShell, navigate to unzipped `ColorTool` directory, and run `install.cmd`.
17+
1. Right-click on the window titlebar and choose `Properties`, then on the `Font` tab choose Consolas. Click `OK` to save.
18+
- Note that this step is required, even if your font is already set to Consolas, due to the way that the windows console saves its settings.
1119

1220
For cmd.exe support, perform the same steps above but in a cmd.exe window.
1321

14-
#### PowerShell prompt
22+
</p>
23+
</details>
24+
25+
<details><summary><strong>PowerShell Prompt</strong></summary>
26+
<p>
1527

16-
1. Install the 1.0 version of posh-git.
17-
* It's currently prerelease, so you'll need to install it with `Install-Module -Name posh-git -AllowPrerelease -Force`
18-
* If you don't have an `-AllowPrerelease` flag, upgrade PowerShellGet with `Install-Module -Name PowerShellGet -Force` first.
19-
2. Ensure the latest version of PSReadLine (2.0 or later) is installed. It's installed by default in Windows 10, but you'll most likely [need to upgrade it](https://github.com/lzybkr/PSReadLine#user-content-upgrading).
20-
3. Include [this powershell configuration](https://github.com/dracula/powershell/blob/master/theme/dracula-prompt-configuration.ps1) in your PowerShell `$profile` file.
28+
1. Install the 1.0 version of posh-git.
29+
- It's currently prerelease, so you'll need to install it with `Install-Module -Name posh-git -AllowPrerelease -Force`
30+
- If you don't have an `-AllowPrerelease` flag, upgrade PowerShellGet with `Install-Module -Name PowerShellGet -Force` first.
31+
1. Ensure the latest version of PSReadLine (2.0 or later) is installed. It's installed by default in Windows 10, but you'll most likely [need to upgrade it](https://github.com/lzybkr/PSReadLine#user-content-upgrading).
32+
- You can verify that 2.0 was installed by running `(Get-Module PSReadLine).Version`. If the installation does not appear to work, please see [this issue in PSReadLine](https://github.com/PowerShell/PowerShellGet/issues/318#issuecomment-418605987)
33+
1. Include [this powershell configuration](https://github.com/dracula/powershell/blob/master/theme/dracula-prompt-configuration.ps1) in your PowerShell `$profile` file.<sup>[1](https://github.com/dracula/powershell#user-content-profile-explanation)</sup>
2134

22-
#### cmd.exe prompt
35+
</p>
36+
</details>
37+
38+
<details><summary><strong>CMD.exe Prompt</strong></summary>
39+
<p>
2340

2441
Set the environment variable `prompt` to `$E[1;32;40m→ $E[1;36;40m$p$E[1;35;40m› $E[1;37;40m`
2542

43+
</p>
44+
</details>
45+
46+
<details><summary><strong>Windows Titlebar Color</strong></summary>
47+
<p>
48+
49+
In Windows 10, the titlebar color can be set system-wide in Settings → Personalization → Colors → Custom color → More → #262835.
50+
51+
</p>
52+
</details>
53+
2654
#### Questions?
2755

2856
See our [FAQ section](https://github.com/dracula/powershell#frequently-asked-questions) for answers, or [open an issue](https://github.com/dracula/powershell/issues) for help.

0 commit comments

Comments
 (0)