Skip to content

Commit 90f367e

Browse files
chore: powershell 5 context
relates to #96
1 parent 7228e56 commit 90f367e

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

docs/docs/installation.mdx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ by changing the [theme][themes] to your liking.
2222

2323
### 2. Download the latest binary
2424

25+
:::note
26+
If you're looking to use the prompt for PowerShell 6 and above, there's a [PowerShell package][powershell] for your enjoyment that facilitates the whole process.
27+
But, if you insist on doing it manually, or you use a pre-core version of PowerShell, here you go :-)
28+
:::
29+
2530
<Tabs
2631
defaultValue="windows"
2732
values={[
@@ -32,9 +37,6 @@ by changing the [theme][themes] to your liking.
3237
}>
3338
<TabItem value="windows">
3439

35-
If you're looking to use the shell in PowerShell, there's a [PowerShell package][powershell] for your enjoyment that facilitates the whole process.
36-
But, if you insist on doing it manually, or you use a pre-core version of PowerShell, here you go :-)
37-
3840
```powershell
3941
mkdir C:\tools
4042
Invoke-Webrequest https://github.com/JanDeDobbeleer/oh-my-posh3/releases/latest/download/posh-windows-amd64.exe -OutFile C:\tools\oh-my-posh.exe

docs/docs/upgrading.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ sidebar_label: Upgrading from V2
77
Just like V2, V3 is available in the [PowerShell gallery][psgallery]. Due to its nature, it's only
88
available as a prerelease while we work out the kinks and get it on par with V2.
99

10+
:::info Powershell 5
11+
Due to being unable to maintain everything, the decision was made to drop active support for non-cross platform
12+
tooling. That's why V3 will only work as of Powershell 6 when it comes to the module.
13+
If you want to install this for Powershell 5 (and below), feel free to look at the [manual installation][manual] process
14+
which should get you up and running in no time.
15+
:::
16+
1017
## V2's problem statement
1118

1219
V2 has Powershell module files as [themes][themesv2]. That way of working was inspired from [oh-my-zsh][omz] and other
@@ -90,6 +97,7 @@ Set-PoshPrompt -Theme jandedobbeleer
9097
You can either tweak the theme to your liking, add segments or [submit an issue][issues] for new functionality.
9198
Do not hesitate to [ask for assistance][issues] when you notice an issue or unexpected behavior.
9299

100+
[manual]: /docs/installation
93101
[psgallery]: https://www.powershellgallery.com/packages/oh-my-posh
94102
[themesv2]: https://github.com/JanDeDobbeleer/oh-my-posh/tree/master/Themes
95103
[omz]: https://github.com/ohmyzsh/ohmyzsh

0 commit comments

Comments
 (0)