Skip to content

Commit 678d00e

Browse files
committed
omp install steps
1 parent 4bceb8c commit 678d00e

File tree

1 file changed

+30
-2
lines changed

1 file changed

+30
-2
lines changed

lib/omp-themes/readme.md

+30-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,37 @@
22

33
## Install
44

5-
1. Install, [Oh My Posh](https://ohmyposh.dev/)
6-
2. Run the following command (_changing the path_)
5+
Steps to install, [Oh My Posh](https://ohmyposh.dev/)
6+
7+
Be sure to uninstall, "Posh-GIT", `uninstall-module posh-git`
8+
9+
1. `winget search oh-my-posh`
10+
2. `winget install JanDeDobbeleer.OhMyPosh`
11+
3. `oh-my-posh font install`
12+
4. Set it to, "M???"
13+
5. `oh-my-posh get shell`
14+
6. Get the PowerShell config path, `$profile`
15+
7. Initialize and set the theme in the next step, "Set Our Theme"
16+
17+
## Set Our Theme
18+
19+
1. Run the following command (_changing the path_)
720

821
```powershell
922
oh-my-posh init pwsh --config "C:\PATH-TO\lib\omp-themes\xeno-clean.omp.json" | Invoke-Expression
1023
```
24+
25+
## Commands
26+
27+
* Get list of themes, `Get-PoshThemes`
28+
* Export current theme, `oh-my-posh config export --output ~\mytheme.omp.json`
29+
* Change Theme for session, `oh-my-posh init pwsh --config "$env:POSH_THEMES_PATH\kali.omp.json" | Invoke-Expression`
30+
* `Get-PSReadLineOption`
31+
32+
## Other themes
33+
34+
```powershell
35+
oh-my-posh init pwsh --config "$env:POSH_THEMES_PATH\kali.omp.json" | Invoke-Expression
36+
oh-my-posh init pwsh --config "$env:POSH_THEMES_PATH\hul10.omp.json" | Invoke-Expression
37+
oh-my-posh init pwsh --config "$env:POSH_THEMES_PATH\agnoster.minimal.omp.json" | Invoke-Expression
38+
```

0 commit comments

Comments
 (0)