You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 16, 2021. It is now read-only.
Copy file name to clipboardexpand all lines: README.md
+11-35
Original file line number
Diff line number
Diff line change
@@ -12,9 +12,7 @@ oh-my-posh
12
12
*[Helper functions](#helper)
13
13
*[Themes](#themes)
14
14
15
-
<divid='about'/>
16
-
17
-
### About
15
+
## About
18
16
19
17
A theme engine for Powershell in ConEmu inspired by the work done by Chris Benti on [PS-Config](https://github.com/chrisbenti/PS-Config). And [Oh-My-ZSH](https://github.com/robbyrussell/oh-my-zsh) on OSX and Linux (hence the name)
20
18
More information about why I made this can be found on my [blog](https://herebedragons.io/shell-shock/).
@@ -34,11 +32,9 @@ Features:
34
32
* Separate settings for oh-my-posh and posh-git
35
33
* Does not mess with the default Powershell console
36
34
37
-
<divid='prerequisites'/>
38
-
<details>
39
-
<summary>Prerequisites</summary>
35
+
## Prerequisites
40
36
41
-
You should use ConEmu to have a brilliant terminal experience on Windows. You can install it using [Chocolatey](https://chocolatey.org/):
37
+
You should use ConEmu to have a brilliant terminal experience on Windows. You can install it using [Chocolatey](https://chocolatey.org/):
42
38
43
39
```bash
44
40
choco install ConEmu
@@ -47,11 +43,7 @@ choco install ConEmu
47
43
The fonts I use are Powerline fonts, there is a great [repository](https://github.com/ryanoasis/nerd-fonts) containing them.
48
44
I use `Meslo LG M Regular for Powerline Nerd Font` in my ConEmu setup together with custom colors You can find my theme [here](https://gist.github.com/JanJoris/71c9f1361a562f337b855b75d7bbfd28).
49
45
50
-
</details>
51
-
52
-
<divid='installation'/>
53
-
<details>
54
-
<summary>Installation</summary>
46
+
## Installation
55
47
56
48
You need to use the the [PowerShell Gallery](https://www.powershellgallery.com/packages/oh-my-posh/) to install oh-my-posh.
You can tweak the settings by manipulating `$ThemeSettings`.
80
68
This example allows you to tweak the branch symbol using a unicode character:
@@ -89,11 +77,7 @@ Also do not forget the Posh-Git settings itself (enable the stash indication for
89
77
$GitPromptSettings
90
78
```
91
79
92
-
</details>
93
-
94
-
<divid='helper'/>
95
-
<details>
96
-
<summary>Helper functions</summary>
80
+
## Helper functions
97
81
98
82
`Set-Theme`: set a theme from the Themes directory. If no match is found, it will not be changed. Autocomplete is available to list and complete available themes.
99
83
@@ -103,17 +87,13 @@ Set-Theme paradox
103
87
104
88
`Show-ThemeColors`: display the colors used by the theme
If you want to create a theme it can be done rather easily by adding a `mytheme.psm1` file in the folder indicated in `$ThemeSettings.MyThemesLocation` (the folder defaults to `~\Documents\WindowsPowerShell\PoshThemes`, feel free to change it).
151
129
The only required function is Write-Theme, you can use the following template to get started:
@@ -179,8 +157,6 @@ If you want to include your theme in oh-my-posh, send me a PR and I'll try to gi
0 commit comments