Skip to content

Commit

Permalink
Make installation instructions more clear
Browse files Browse the repository at this point in the history
  • Loading branch information
waf authored Jul 30, 2020
1 parent 399c44d commit a4c2b6c
Showing 1 changed file with 7 additions and 18 deletions.
25 changes: 7 additions & 18 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,32 +4,21 @@ A dark theme for the Windows 10 Console, supports both PowerShell and cmd.exe.

#### Theme Installation

There are 4 parts to configure; all of them are optional:
There are 3 parts to configure; all of them are optional:


<details><summary><strong>Colors Installation</strong></summary>
<details><summary><strong>Powershell colors</strong></summary>
<p>

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.
1. Open PowerShell, navigate to unzipped `ColorTool` directory, and run `install.cmd`.
1. Right-click on the window titlebar and choose `Properties`, then on the `Font` tab choose Consolas. Click `OK` to save.
- 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.

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

</p>
</details>

<details><summary><strong>PowerShell Prompt</strong></summary>
<p>

1. Install the 1.0 version of posh-git.
- It's currently prerelease, so you'll need to install it with `Install-Module -Name posh-git -AllowPrerelease -Force`
- If you don't have an `-AllowPrerelease` flag, upgrade PowerShellGet with `Install-Module -Name PowerShellGet -Force` first.
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).
- 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)
1. Install PSReadLine 2.0 or later. 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). You can verify your PSReadLine version by running `(Get-Module PSReadLine).Version`
- If you see errors when upgrading, please see [this issue in PSReadLine](https://github.com/PowerShell/PowerShellGet/issues/318#issuecomment-418605987).
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>

1. Install git integration (posh-git) with `Install-Module -Name posh-git -AllowPrerelease -Force`
- If you don't have an `-AllowPrerelease` flag, upgrade PowerShellGet with `Install-Module -Name PowerShellGet -Force` first.

</p>
</details>

Expand Down

0 comments on commit a4c2b6c

Please sign in to comment.