chore: powershell 5 context

relates to #96
This commit is contained in:
Jan De Dobbeleer 2020-10-25 16:49:54 +01:00 committed by Jan De Dobbeleer
parent 7228e564b8
commit 90f367eab3
2 changed files with 13 additions and 3 deletions

View file

@ -22,6 +22,11 @@ by changing the [theme][themes] to your liking.
### 2. Download the latest binary
:::note
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.
But, if you insist on doing it manually, or you use a pre-core version of PowerShell, here you go :-)
:::
<Tabs
defaultValue="windows"
values={[
@ -32,9 +37,6 @@ by changing the [theme][themes] to your liking.
}>
<TabItem value="windows">
If you're looking to use the shell in PowerShell, there's a [PowerShell package][powershell] for your enjoyment that facilitates the whole process.
But, if you insist on doing it manually, or you use a pre-core version of PowerShell, here you go :-)
```powershell
mkdir C:\tools
Invoke-Webrequest https://github.com/JanDeDobbeleer/oh-my-posh3/releases/latest/download/posh-windows-amd64.exe -OutFile C:\tools\oh-my-posh.exe

View file

@ -7,6 +7,13 @@ sidebar_label: Upgrading from V2
Just like V2, V3 is available in the [PowerShell gallery][psgallery]. Due to its nature, it's only
available as a prerelease while we work out the kinks and get it on par with V2.
:::info Powershell 5
Due to being unable to maintain everything, the decision was made to drop active support for non-cross platform
tooling. That's why V3 will only work as of Powershell 6 when it comes to the module.
If you want to install this for Powershell 5 (and below), feel free to look at the [manual installation][manual] process
which should get you up and running in no time.
:::
## V2's problem statement
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
You can either tweak the theme to your liking, add segments or [submit an issue][issues] for new functionality.
Do not hesitate to [ask for assistance][issues] when you notice an issue or unexpected behavior.
[manual]: /docs/installation
[psgallery]: https://www.powershellgallery.com/packages/oh-my-posh
[themesv2]: https://github.com/JanDeDobbeleer/oh-my-posh/tree/master/Themes
[omz]: https://github.com/ohmyzsh/ohmyzsh