mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-03-05 20:49:04 -08:00
chore: add Scoop docs
This commit is contained in:
parent
1df4549b8d
commit
33d099a004
|
@ -38,6 +38,12 @@ But, if you insist on doing it manually, or you use a pre-core version of PowerS
|
||||||
}>
|
}>
|
||||||
<TabItem value="windows">
|
<TabItem value="windows">
|
||||||
|
|
||||||
|
#### Scoop
|
||||||
|
|
||||||
|
A [Scoop][scoop] package is available to assist installs on Windows.
|
||||||
|
|
||||||
|
#### Manual
|
||||||
|
|
||||||
```powershell
|
```powershell
|
||||||
mkdir C:\tools
|
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
|
Invoke-Webrequest https://github.com/JanDeDobbeleer/oh-my-posh3/releases/latest/download/posh-windows-amd64.exe -OutFile C:\tools\oh-my-posh.exe
|
||||||
|
@ -46,6 +52,7 @@ Invoke-Webrequest https://github.com/JanDeDobbeleer/oh-my-posh3/releases/latest/
|
||||||
</TabItem>
|
</TabItem>
|
||||||
<TabItem value="macos">
|
<TabItem value="macos">
|
||||||
|
|
||||||
|
#### Manual
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
wget https://github.com/JanDeDobbeleer/oh-my-posh3/releases/latest/download/posh-darwin-amd64 -O /usr/local/bin/oh-my-posh
|
wget https://github.com/JanDeDobbeleer/oh-my-posh3/releases/latest/download/posh-darwin-amd64 -O /usr/local/bin/oh-my-posh
|
||||||
|
@ -55,6 +62,7 @@ chmod +x /usr/local/bin/oh-my-posh
|
||||||
</TabItem>
|
</TabItem>
|
||||||
<TabItem value="unix">
|
<TabItem value="unix">
|
||||||
|
|
||||||
|
#### Manual
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
wget https://github.com/JanDeDobbeleer/oh-my-posh3/releases/latest/download/posh-linux-amd64 -O /usr/local/bin/oh-my-posh
|
wget https://github.com/JanDeDobbeleer/oh-my-posh3/releases/latest/download/posh-linux-amd64 -O /usr/local/bin/oh-my-posh
|
||||||
|
@ -198,3 +206,4 @@ Make sure `~/downloadedtheme.json` points to your downloaded or adjusted theme.
|
||||||
[meslo]: https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/Meslo.zip
|
[meslo]: https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/Meslo.zip
|
||||||
[powershell]: /docs/powershell
|
[powershell]: /docs/powershell
|
||||||
[themes]: https://github.com/JanDeDobbeleer/oh-my-posh3/tree/main/themes
|
[themes]: https://github.com/JanDeDobbeleer/oh-my-posh3/tree/main/themes
|
||||||
|
[scoop]: /docs/scoop
|
||||||
|
|
40
docs/docs/package-scoop.mdx
Normal file
40
docs/docs/package-scoop.mdx
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
---
|
||||||
|
id: scoop
|
||||||
|
title: Scoop
|
||||||
|
sidebar_label: Scoop
|
||||||
|
---
|
||||||
|
|
||||||
|
A [Scoop][scoop] package that installs the Oh my Posh Windows and Linux binaries on Windows.
|
||||||
|
Use these in your shell of choice afterwards by going through the [installation guide][install].
|
||||||
|
|
||||||
|
:::caution Font icons
|
||||||
|
For maximum enjoyment, make sure to **install** and **configure** your terminal to use a powerline enabled font.
|
||||||
|
The fonts we use are patched by [Nerd Fonts][nerdfonts], which offer a maximum of icons you can use to configure your prompt.
|
||||||
|
To easily find the icon you want, have a look at their [cheat sheet][nf-cheat].
|
||||||
|
:::
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
|
||||||
|
```powershell
|
||||||
|
scoop install https://github.com/JanDeDobbeleer/oh-my-posh3/releases/latest/download/oh-my-posh.json
|
||||||
|
```
|
||||||
|
|
||||||
|
This installs a couple of things:
|
||||||
|
|
||||||
|
- `posh-windows-amd64.exe` - Windows executable, added to your `$PATH`
|
||||||
|
- `posh-linux-amd64` - Linux executable, added to your `$PATH` for use in the WSL
|
||||||
|
- `themes` - The latest Oh m my Posh themes
|
||||||
|
|
||||||
|
If you want to use a standard theme, you can find them in `~\scoop\apps\oh-my-posh\current\themes\`, referencing them as such
|
||||||
|
will always keep them compatible with the binary when updating Oh my Posh.
|
||||||
|
|
||||||
|
## Update
|
||||||
|
|
||||||
|
```powershell
|
||||||
|
scoop update oh-my-posh
|
||||||
|
```
|
||||||
|
|
||||||
|
[scoop]: https://scoop.sh/
|
||||||
|
[install]: /docs/installation
|
||||||
|
[nerdfonts]: https://www.nerdfonts.com/
|
||||||
|
[nf-cheat]: https://www.nerdfonts.com/cheat-sheet
|
|
@ -8,7 +8,7 @@ module.exports = {
|
||||||
{
|
{
|
||||||
type: "category",
|
type: "category",
|
||||||
label: "Packages",
|
label: "Packages",
|
||||||
items: ["powershell"],
|
items: ["powershell", "scoop"],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: "category",
|
type: "category",
|
||||||
|
|
Loading…
Reference in a new issue