Skip to content

Commit 0f737cd

Browse files
authored
Update FAQ to use dt/dd lists
1 parent ebdff90 commit 0f737cd

File tree

1 file changed

+30
-26
lines changed

1 file changed

+30
-26
lines changed

README.md

Lines changed: 30 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ For cmd.exe support, perform the same steps above but in a cmd.exe window.
2424
</p>
2525
</details>
2626

27-
<details><summary><strong>PowerShell prompt</strong></summary>
27+
<details><summary><strong>PowerShell Prompt</strong></summary>
2828
<p>
2929

3030
1. Install the 1.0 version of posh-git.
@@ -37,15 +37,15 @@ For cmd.exe support, perform the same steps above but in a cmd.exe window.
3737
</p>
3838
</details>
3939

40-
<details><summary><strong>cmd.exe prompt</strong></summary>
40+
<details><summary><strong>CMD.exe Prompt</strong></summary>
4141
<p>
4242

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

4545
</p>
4646
</details>
4747

48-
<details><summary><strong>Titlebar color</strong></summary>
48+
<details><summary><strong>Windows Titlebar Color</strong></summary>
4949
<p>
5050

5151
In Windows 10, the titlebar color can be set system-wide in Settings → Personalization → Colors → Custom color → More → #262835.
@@ -55,29 +55,33 @@ In Windows 10, the titlebar color can be set system-wide in Settings → Persona
5555

5656
## Frequently Asked Questions
5757

58-
**What's the PowerShell `$profile` file?**
59-
60-
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.
61-
62-
**After applying the theme, other consoles don't always have the right colors.**
63-
64-
There are two possible reasons for this:
65-
66-
1. Step 3 from the theme installation was not followed; it's a requirement for the way that the windows console properties save settings.
67-
1. The shortcut used to apply the theme was different from shortcut used to open the console.
68-
- 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.
69-
70-
**What's that crazy cmd.exe prompt string?**
71-
72-
The cmd.exe prompt value can be broken down into the following [ANSI escape sequences](http://ascii-table.com/ansi-escape-sequences.php):
73-
74-
- `$E[1;32;40m` - normal text with a green foreground and black background
75-
- `` - unicode arrow and space
76-
- `$E[1;36;40m` - normal text with a cyan foreground and black background
77-
- `$p` - current drive and path. See `prompt /?` output for additional values
78-
- `$E[1;35;40m` - normal text with a magenta foreground and black background
79-
- `` - unicode chevron and space
80-
- `$E[1;37;40m` - normal text with a white foreground and black background
58+
<dl>
59+
<dt>What's the PowerShell <code>$profile</code> file?</dt>
60+
<dd>This is a PowerShell file that's run when a PowerShell session is started, similar to a <code>.bashrc</code>. Type <code>$profile</code> in a PowerShell window to see the path. See https://ss64.com/ps/syntax-profile.html for more detail.</dd>
61+
<dt>After applying the theme, other consoles don't always have the right colors.</dt>
62+
<dd>There are two possible reasons for this:
63+
<ol>
64+
<li>Step 3 from the theme installation was not followed; it's a requirement for the way that the windows console properties save settings.</li>
65+
<li>The shortcut used to apply the theme was different from shortcut used to open the console.
66+
<ul>
67+
<li>The windows console stores its font / color settings in per-shortcut. You can see / delete the special cases in the registry. Go to <code>\HKEY_CURRENT_USER\Console\</code> and delete the subkeys so the default values in the <code>Console</code> key are used.</li>
68+
</ul>
69+
</li>
70+
</ol>
71+
</dd>
72+
<dt>What's that crazy cmd.exe prompt string?</dt>
73+
<dd>The cmd.exe prompt value can be broken down into the following [ANSI escape sequences](http://ascii-table.com/ansi-escape-sequences.php)
74+
<ul>
75+
<li><code>E[1;32;40m</code> - normal text with a green foreground and black background</li>
76+
<li><code>→ </code> - unicode arrow and space</li>
77+
<li><code>$E[1;36;40m</code> - normal text with a cyan foreground and black background</li>
78+
<li><code>$p</code> - current drive and path. See <code>prompt /?</code> output for additional values</li>
79+
<li><code>$E[1;35;40m</code> - normal text with a magenta foreground and black background</li>
80+
<li><code>› </code> - unicode chevron and space</li>
81+
<li><code>$E[1;37;40m</code> - normal text with a white foreground and black background</li>
82+
</ul>
83+
</dd>
84+
</dl>
8185

8286
## Uninstallation
8387

0 commit comments

Comments
 (0)