chore: rename repository

This commit is contained in:
Jan De Dobbeleer 2021-02-16 08:36:37 +01:00 committed by Jan De Dobbeleer
parent 32c534731a
commit b59b4197dc
42 changed files with 87 additions and 87 deletions

2
.gitignore vendored
View file

@ -149,6 +149,6 @@ dist
# End of https://www.toptal.com/developers/gitignore/api/node,go,visualstudiocode # End of https://www.toptal.com/developers/gitignore/api/node,go,visualstudiocode
# linux binary # linux binary
/src/oh-my-posh3 /src/oh-my-posh
bin/ bin/
Output/ Output/

View file

@ -51,11 +51,11 @@ a modern and more efficient tool was needed to suit my personal needs.
using Go (and the amazing [README][powerline-go]) using Go (and the amazing [README][powerline-go])
* [Starship][starship] for creating an amazing way to initialize the prompt * [Starship][starship] for creating an amazing way to initialize the prompt
[release-status]: https://github.com/jandedobbeleer/oh-my-posh3/workflows/Release/badge.svg [release-status]: https://github.com/jandedobbeleer/oh-my-posh/workflows/Release/badge.svg
[psgallery-badge]: https://img.shields.io/powershellgallery/dt/oh-my-posh.svg [psgallery-badge]: https://img.shields.io/powershellgallery/dt/oh-my-posh.svg
[powershell-gallery]: https://www.powershellgallery.com/packages/oh-my-posh/ [powershell-gallery]: https://www.powershellgallery.com/packages/oh-my-posh/
[report-card]: https://goreportcard.com/badge/github.com/jandedobbeleer/oh-my-posh3 [report-card]: https://goreportcard.com/badge/github.com/jandedobbeleer/oh-my-posh
[report-card-link]: https://goreportcard.com/report/github.com/jandedobbeleer/oh-my-posh3 [report-card-link]: https://goreportcard.com/report/github.com/jandedobbeleer/oh-my-posh
[oh-my-posh]: https://github.com/JanDeDobbeleer/oh-my-posh [oh-my-posh]: https://github.com/JanDeDobbeleer/oh-my-posh
[patreon-badge]: https://img.shields.io/badge/Support-Become%20a%20Patreon!-red.svg [patreon-badge]: https://img.shields.io/badge/Support-Become%20a%20Patreon!-red.svg
[patreon]: https://www.patreon.com/jandedobbeleer [patreon]: https://www.patreon.com/jandedobbeleer

View file

@ -432,7 +432,7 @@ has to be enabled at the segment level. Hyperlink generation is disabled by defa
[promptconfig]: /docs/installation#4-replace-your-existing-prompt [promptconfig]: /docs/installation#4-replace-your-existing-prompt
[setupterm]: /docs/installation#1-setup-your-terminal [setupterm]: /docs/installation#1-setup-your-terminal
[releases]: https://github.com/JanDeDobbeleer/oh-my-posh3/releases/latest [releases]: https://github.com/JanDeDobbeleer/oh-my-posh/releases/latest
[nf]: https://www.nerdfonts.com/ [nf]: https://www.nerdfonts.com/
[segments]: /docs/battery [segments]: /docs/battery
[colors]: #colors [colors]: #colors

View file

@ -165,8 +165,8 @@ At `$.definitions.segment.allOf`, add your segment details:
And be patient, I'm going as fast as I can 🏎 And be patient, I'm going as fast as I can 🏎
[segment-go]: https://github.com/JanDeDobbeleer/oh-my-posh3/blob/main/segment.go [segment-go]: https://github.com/JanDeDobbeleer/oh-my-posh/blob/main/segment.go
[themes]: https://github.com/JanDeDobbeleer/oh-my-posh3/tree/main/themes [themes]: https://github.com/JanDeDobbeleer/oh-my-posh/tree/main/themes
[docs]: https://github.com/JanDeDobbeleer/oh-my-posh3/tree/main/docs/docs [docs]: https://github.com/JanDeDobbeleer/oh-my-posh/tree/main/docs/docs
[sidebars]: https://github.com/JanDeDobbeleer/oh-my-posh3/blob/main/docs/sidebars.js [sidebars]: https://github.com/JanDeDobbeleer/oh-my-posh/blob/main/docs/sidebars.js
[nf-icons]: https://www.nerdfonts.com/cheat-sheet [nf-icons]: https://www.nerdfonts.com/cheat-sheet

View file

@ -71,7 +71,7 @@ your repository and create pull request in the official Oh my Posh repository.
Clone your fork of Oh my Posh locally, replace `<user>` with your Github username. Clone your fork of Oh my Posh locally, replace `<user>` with your Github username.
```bash ```bash
git clone git@github.com:<user>/oh-my-posh3.git git clone git@github.com:<user>/oh-my-posh.git
``` ```
## Running tests ## Running tests
@ -153,7 +153,7 @@ With everything set up, you're ready to start making changes and create your fir
[golang-ci-lint-local]: https://golangci-lint.run/usage/install/#local-installation [golang-ci-lint-local]: https://golangci-lint.run/usage/install/#local-installation
[go-bindata]: https://github.com/kevinburke/go-bindata/ [go-bindata]: https://github.com/kevinburke/go-bindata/
[go-global]: https://github.com/golang/go/issues/40276 [go-global]: https://github.com/golang/go/issues/40276
[pr-go-mod]: https://github.com/JanDeDobbeleer/oh-my-posh3/blob/main/.github/workflows/gomod.yml [pr-go-mod]: https://github.com/JanDeDobbeleer/oh-my-posh/blob/main/.github/workflows/gomod.yml
[gh-pr]: https://github.com/JanDeDobbeleer/oh-my-posh3/pulls [gh-pr]: https://github.com/JanDeDobbeleer/oh-my-posh/pulls
[omp]: https://github.com/JanDeDobbeleer/oh-my-posh3 [omp]: https://github.com/JanDeDobbeleer/oh-my-posh
[gh-fork]: https://guides.github.com/activities/forking/ [gh-fork]: https://guides.github.com/activities/forking/

View file

@ -93,7 +93,7 @@ A [Scoop][scoop] package is available for easy installation.
#### Installation #### Installation
```powershell ```powershell
scoop install https://github.com/JanDeDobbeleer/oh-my-posh3/releases/latest/download/oh-my-posh.json scoop install https://github.com/JanDeDobbeleer/oh-my-posh/releases/latest/download/oh-my-posh.json
``` ```
This installs a couple of things: This installs a couple of things:
@ -163,7 +163,7 @@ brew upgrade oh-my-posh
#### Installation #### Installation
```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-posh/releases/latest/download/posh-linux-amd64 -O /usr/local/bin/oh-my-posh
chmod +x /usr/local/bin/oh-my-posh chmod +x /usr/local/bin/oh-my-posh
``` ```
@ -171,7 +171,7 @@ chmod +x /usr/local/bin/oh-my-posh
```bash ```bash
mkdir ~/.poshthemes mkdir ~/.poshthemes
wget https://github.com/JanDeDobbeleer/oh-my-posh3/releases/latest/download/themes.zip -O ~/.poshthemes/themes.zip wget https://github.com/JanDeDobbeleer/oh-my-posh/releases/latest/download/themes.zip -O ~/.poshthemes/themes.zip
unzip ~/.poshthemes/themes.zip -d ~/.poshthemes unzip ~/.poshthemes/themes.zip -d ~/.poshthemes
chmod u+rw ~/.poshthemes/*.json chmod u+rw ~/.poshthemes/*.json
rm ~/.poshthemes/themes.zip rm ~/.poshthemes/themes.zip
@ -382,9 +382,9 @@ oh-my-posh --config ~/.mytheme.omp.json
[nerdfonts]: https://www.nerdfonts.com/ [nerdfonts]: https://www.nerdfonts.com/
[nf-cheat]: https://www.nerdfonts.com/cheat-sheet [nf-cheat]: https://www.nerdfonts.com/cheat-sheet
[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
[font-thread]: https://github.com/JanDeDobbeleer/oh-my-posh3/issues/145#issuecomment-730162622 [font-thread]: https://github.com/JanDeDobbeleer/oh-my-posh/issues/145#issuecomment-730162622
[powershell]: https://www.powershellgallery.com/packages/oh-my-posh [powershell]: https://www.powershellgallery.com/packages/oh-my-posh
[themes]: https://github.com/JanDeDobbeleer/oh-my-posh3/tree/main/themes [themes]: https://github.com/JanDeDobbeleer/oh-my-posh/tree/main/themes
[scoop]: https://scoop.sh [scoop]: https://scoop.sh
[brew]: https://brew.sh [brew]: https://brew.sh
[prompt]: /docs/installation#3-replace-your-existing-prompt [prompt]: /docs/installation#3-replace-your-existing-prompt

View file

@ -63,9 +63,9 @@ can get started even without having to understand the theming. So, let's no long
[![Liberapay][liberapay-badge]][liberapay] [![Liberapay][liberapay-badge]][liberapay]
[![Ko-Fi][kofi-badge]][kofi] [![Ko-Fi][kofi-badge]][kofi]
[omp]: https://github.com/JanDeDobbeleer/oh-my-posh [omp]: https://github.com/JanDeDobbeleer/oh-my-posh2
[omz]: https://github.com/ohmyzsh/ohmyzsh [omz]: https://github.com/ohmyzsh/ohmyzsh
[omp3]: https://github.com/JanDeDobbeleer/oh-my-posh3 [omp3]: https://github.com/JanDeDobbeleer/oh-my-posh
[wsl]: https://docs.microsoft.com/en-us/windows/wsl/install-win10 [wsl]: https://docs.microsoft.com/en-us/windows/wsl/install-win10
[install]: /docs/installation [install]: /docs/installation
[patreon-badge]: https://img.shields.io/badge/Support-Become%20a%20Patreon!-red.svg [patreon-badge]: https://img.shields.io/badge/Support-Become%20a%20Patreon!-red.svg
@ -76,5 +76,5 @@ can get started even without having to understand the theming. So, let's no long
[kofi]: https://ko-fi.com/jandedobbeleer [kofi]: https://ko-fi.com/jandedobbeleer
[block]: /docs/configure#block [block]: /docs/configure#block
[segment]: /docs/configure#segment [segment]: /docs/configure#segment
[themes]: https://github.com/JanDeDobbeleer/oh-my-posh3/tree/main/themes [themes]: https://github.com/JanDeDobbeleer/oh-my-posh/tree/main/themes
[omp-themes]: https://github.com/JanDeDobbeleer/oh-my-posh/tree/master/Themes [omp-themes]: https://github.com/JanDeDobbeleer/oh-my-posh/tree/master/Themes

View file

@ -80,22 +80,22 @@ sidebar_label: 🎨 Themes
[![Zash](/img/themes/zash.png)][Zash] [![Zash](/img/themes/zash.png)][Zash]
[Agnoster]: https://github.com/JanDeDobbeleer/oh-my-posh3/blob/main/themes/agnoster.omp.json 'Agnoster' [Agnoster]: https://github.com/JanDeDobbeleer/oh-my-posh/blob/main/themes/agnoster.omp.json 'Agnoster'
[AgnosterPlus]: https://github.com/JanDeDobbeleer/oh-my-posh3/blob/main/themes/agnosterplus.omp.json 'AgnosterPlus' [AgnosterPlus]: https://github.com/JanDeDobbeleer/oh-my-posh/blob/main/themes/agnosterplus.omp.json 'AgnosterPlus'
[Aliens]: https://github.com/JanDeDobbeleer/oh-my-posh3/blob/main/themes/aliens.omp.json 'Aliens' [Aliens]: https://github.com/JanDeDobbeleer/oh-my-posh/blob/main/themes/aliens.omp.json 'Aliens'
[Avit]: https://github.com/JanDeDobbeleer/oh-my-posh3/blob/main/themes/avit.omp.json 'Avit' [Avit]: https://github.com/JanDeDobbeleer/oh-my-posh/blob/main/themes/avit.omp.json 'Avit'
[DarkBlood]: https://github.com/JanDeDobbeleer/oh-my-posh3/blob/main/themes/darkblood.omp.json 'DarkBlood' [DarkBlood]: https://github.com/JanDeDobbeleer/oh-my-posh/blob/main/themes/darkblood.omp.json 'DarkBlood'
[Emodipt]: https://github.com/JanDeDobbeleer/oh-my-posh3/blob/main/themes/emodipt.omp.json 'Emodipt' [Emodipt]: https://github.com/JanDeDobbeleer/oh-my-posh/blob/main/themes/emodipt.omp.json 'Emodipt'
[Fish]: https://github.com/JanDeDobbeleer/oh-my-posh3/blob/main/themes/fish.omp.json 'Fish' [Fish]: https://github.com/JanDeDobbeleer/oh-my-posh/blob/main/themes/fish.omp.json 'Fish'
[Honukai]: https://github.com/JanDeDobbeleer/oh-my-posh3/blob/main/themes/honukai.omp.json 'Honukai' [Honukai]: https://github.com/JanDeDobbeleer/oh-my-posh/blob/main/themes/honukai.omp.json 'Honukai'
[JanDeDobbeleer]: https://github.com/JanDeDobbeleer/oh-my-posh3/blob/main/themes/jandedobbeleer.omp.json 'JanDeDobbeleer' [JanDeDobbeleer]: https://github.com/JanDeDobbeleer/oh-my-posh/blob/main/themes/jandedobbeleer.omp.json 'JanDeDobbeleer'
[Lambda]: https://github.com/JanDeDobbeleer/oh-my-posh3/blob/main/themes/lambda.omp.json 'Lambda' [Lambda]: https://github.com/JanDeDobbeleer/oh-my-posh/blob/main/themes/lambda.omp.json 'Lambda'
[Material]: https://github.com/JanDeDobbeleer/oh-my-posh3/blob/main/themes/material.omp.json 'Material' [Material]: https://github.com/JanDeDobbeleer/oh-my-posh/blob/main/themes/material.omp.json 'Material'
[ParaRussel]: https://github.com/JanDeDobbeleer/oh-my-posh3/blob/main/themes/ParaRussel.omp.json 'ParaRussel' [ParaRussel]: https://github.com/JanDeDobbeleer/oh-my-posh/blob/main/themes/ParaRussel.omp.json 'ParaRussel'
[Powerlevel10k_Classic]: https://github.com/JanDeDobbeleer/oh-my-posh3/blob/main/themes/powerlevel10k_classic.omp.json 'Powerlevel10k_Classic' [Powerlevel10k_Classic]: https://github.com/JanDeDobbeleer/oh-my-posh/blob/main/themes/powerlevel10k_classic.omp.json 'Powerlevel10k_Classic'
[Powerlevel10k_Lean]: https://github.com/JanDeDobbeleer/oh-my-posh3/blob/main/themes/powerlevel10k_lean.omp.json 'Powerlevel10k_Lean' [Powerlevel10k_Lean]: https://github.com/JanDeDobbeleer/oh-my-posh/blob/main/themes/powerlevel10k_lean.omp.json 'Powerlevel10k_Lean'
[PowerLine]: https://github.com/JanDeDobbeleer/oh-my-posh3/blob/main/themes/powerline.omp.json 'PowerLine' [PowerLine]: https://github.com/JanDeDobbeleer/oh-my-posh/blob/main/themes/powerline.omp.json 'PowerLine'
[RobbyRussel]: https://github.com/JanDeDobbeleer/oh-my-posh3/blob/main/themes/robbyrussel.omp.json 'RobbyRussel' [RobbyRussel]: https://github.com/JanDeDobbeleer/oh-my-posh/blob/main/themes/robbyrussel.omp.json 'RobbyRussel'
[Sorin]: https://github.com/JanDeDobbeleer/oh-my-posh3/blob/main/themes/sorin.omp.json 'Sorin' [Sorin]: https://github.com/JanDeDobbeleer/oh-my-posh/blob/main/themes/sorin.omp.json 'Sorin'
[Star]: https://github.com/JanDeDobbeleer/oh-my-posh3/blob/main/themes/star.omp.json 'Star' [Star]: https://github.com/JanDeDobbeleer/oh-my-posh/blob/main/themes/star.omp.json 'Star'
[Zash]: https://github.com/JanDeDobbeleer/oh-my-posh3/blob/main/themes/zash.omp.json 'Zash' [Zash]: https://github.com/JanDeDobbeleer/oh-my-posh/blob/main/themes/zash.omp.json 'Zash'

View file

@ -96,7 +96,7 @@ Do not hesitate to [ask for assistance][issues] when you notice an issue or unex
[omz]: https://github.com/ohmyzsh/ohmyzsh [omz]: https://github.com/ohmyzsh/ohmyzsh
[golang]: https://golang.org/ [golang]: https://golang.org/
[introduction]: /docs/#concept [introduction]: /docs/#concept
[v3]: https://github.com/JanDeDobbeleer/oh-my-posh3/ [v3]: https://github.com/JanDeDobbeleer/oh-my-posh/
[themesv3]: https://github.com/JanDeDobbeleer/oh-my-posh3/tree/main/themes [themesv3]: https://github.com/JanDeDobbeleer/oh-my-posh/tree/main/themes
[configuration]: /docs/configure [configuration]: /docs/configure
[issues]: https://github.com/JanDeDobbeleer/oh-my-posh3/issues/new [issues]: https://github.com/JanDeDobbeleer/oh-my-posh/issues/new

View file

@ -1,11 +1,11 @@
module.exports = { module.exports = {
title: "Oh my Posh 3", title: "Oh my Posh",
tagline: "A prompt theme engine for any shell.", tagline: "A prompt theme engine for any shell.",
url: "https://ohmyposh.dev", url: "https://ohmyposh.dev",
baseUrl: "/", baseUrl: "/",
favicon: "img/favicon.ico", favicon: "img/favicon.ico",
organizationName: "jandedobbeleer", organizationName: "jandedobbeleer",
projectName: "oh-my-posh3", projectName: "oh-my-posh",
onBrokenLinks: "ignore", onBrokenLinks: "ignore",
themeConfig: { themeConfig: {
sidebarCollapsible: false, sidebarCollapsible: false,
@ -27,7 +27,7 @@ module.exports = {
position: "left", position: "left",
}, },
{ {
href: "https://github.com/jandedobbeleer/oh-my-posh3", href: "https://github.com/jandedobbeleer/oh-my-posh",
label: "GitHub", label: "GitHub",
position: "right", position: "right",
}, },
@ -58,7 +58,7 @@ module.exports = {
items: [ items: [
{ {
label: "GitHub", label: "GitHub",
href: "https://github.com/jandedobbeleer/oh-my-posh3", href: "https://github.com/jandedobbeleer/oh-my-posh",
}, },
{ {
label: "Twitter", label: "Twitter",
@ -89,7 +89,7 @@ module.exports = {
{ {
docs: { docs: {
sidebarPath: require.resolve("./sidebars.js"), sidebarPath: require.resolve("./sidebars.js"),
editUrl: "https://github.com/jandedobbeleer/oh-my-posh3/edit/main/docs/", editUrl: "https://github.com/jandedobbeleer/oh-my-posh/edit/main/docs/",
}, },
theme: { theme: {
customCss: require.resolve("./src/css/custom.css"), customCss: require.resolve("./src/css/custom.css"),

View file

@ -10,11 +10,11 @@ Copy-Item -Path "../../themes" -Destination "./bin" -Recurse
# download the files and pack them # download the files and pack them
@{name = 'posh-windows-amd64.exe' }, @{name = 'posh-linux-amd64' }, @{name = 'posh-windows-386.exe' } | ForEach-Object -Process { @{name = 'posh-windows-amd64.exe' }, @{name = 'posh-linux-amd64' }, @{name = 'posh-windows-386.exe' } | ForEach-Object -Process {
$download = "https://github.com/jandedobbeleer/oh-my-posh3/releases/download/v$Version/$($_.name)" $download = "https://github.com/jandedobbeleer/oh-my-posh/releases/download/v$Version/$($_.name)"
Invoke-WebRequest $download -Out "./bin/$($_.name)" Invoke-WebRequest $download -Out "./bin/$($_.name)"
} }
# lisence # lisence
Invoke-WebRequest "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh3/v$Version/COPYING" -Out "./bin/COPYING.txt" Invoke-WebRequest "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/v$Version/COPYING" -Out "./bin/COPYING.txt"
$content = Get-Content '.\oh-my-posh.iss' -Raw $content = Get-Content '.\oh-my-posh.iss' -Raw
$content = $content.Replace('<VERSION>', $Version) $content = $content.Replace('<VERSION>', $Version)
$content | Out-File -Encoding 'UTF8' ".oh-my-posh-$Version.iss" $content | Out-File -Encoding 'UTF8' ".oh-my-posh-$Version.iss"

View file

@ -6,7 +6,7 @@ DefaultGroupName=Oh my Posh
PrivilegesRequired=lowest PrivilegesRequired=lowest
AppPublisher=Jan De Dobbeleer AppPublisher=Jan De Dobbeleer
AppPublisherURL=https://ohmyposh.dev AppPublisherURL=https://ohmyposh.dev
AppSupportURL=https://github.com/JanDeDobbeleer/oh-my-posh3/issues AppSupportURL=https://github.com/JanDeDobbeleer/oh-my-posh/issues
LicenseFile="bin\COPYING.txt" LicenseFile="bin\COPYING.txt"
OutputBaseFilename=install OutputBaseFilename=install

View file

@ -21,7 +21,7 @@ Copy-Item -Path "../../../themes" -Destination "./themes" -Recurse
# fetch all the binaries from the version's GitHub release # fetch all the binaries from the version's GitHub release
New-Item -Path "./" -Name "bin" -ItemType "directory" New-Item -Path "./" -Name "bin" -ItemType "directory"
"posh-windows-amd64.exe", "posh-darwin-amd64", "posh-linux-amd64" | ForEach-Object -Process { "posh-windows-amd64.exe", "posh-darwin-amd64", "posh-linux-amd64" | ForEach-Object -Process {
$download = "https://github.com/jandedobbeleer/oh-my-posh3/releases/download/v$BinVersion/$_" $download = "https://github.com/jandedobbeleer/oh-my-posh/releases/download/v$BinVersion/$_"
Invoke-WebRequest $download -Out "./bin/$_" Invoke-WebRequest $download -Out "./bin/$_"
} }
# publish the module # publish the module

View file

@ -1,5 +1,5 @@
# #
# Module manifest for module 'oh-my-posh3' # Module manifest for module 'oh-my-posh'
# #
# Generated by: Jan De Dobbeleer # Generated by: Jan De Dobbeleer
# #
@ -39,9 +39,9 @@
# Tags applied to this module. These help with module discovery in online galleries. # Tags applied to this module. These help with module discovery in online galleries.
Tags = @('git', 'agnoster', 'theme', 'zsh', 'posh-git', 'prompt', 'paradox', 'robbyrussel', 'oh-my-posh') Tags = @('git', 'agnoster', 'theme', 'zsh', 'posh-git', 'prompt', 'paradox', 'robbyrussel', 'oh-my-posh')
# A URL to the license for this module. # A URL to the license for this module.
LicenseUri = 'https://github.com/JanDeDobbeleer/oh-my-posh3/blob/main/COPYING' LicenseUri = 'https://github.com/JanDeDobbeleer/oh-my-posh/blob/main/COPYING'
# A URL to the main website for this project. # A URL to the main website for this project.
ProjectUri = 'https://github.com/JanDeDobbeleer/oh-my-posh3' ProjectUri = 'https://github.com/JanDeDobbeleer/oh-my-posh'
} # End of PSData hashtable } # End of PSData hashtable
} # End of PrivateData hashtable } # End of PrivateData hashtable
} }

View file

@ -10,7 +10,7 @@ Copy-Item -Path "../../themes" -Destination "./bin" -Recurse
# Download the files and pack them # Download the files and pack them
@{name = 'posh-windows-amd64.exe'; outName = 'oh-my-posh.exe' }, @{name = 'posh-linux-amd64'; outName = 'oh-my-posh-wsl' } | ForEach-Object -Process { @{name = 'posh-windows-amd64.exe'; outName = 'oh-my-posh.exe' }, @{name = 'posh-linux-amd64'; outName = 'oh-my-posh-wsl' } | ForEach-Object -Process {
$download = "https://github.com/jandedobbeleer/oh-my-posh3/releases/download/v$Version/$($_.name)" $download = "https://github.com/jandedobbeleer/oh-my-posh/releases/download/v$Version/$($_.name)"
Invoke-WebRequest $download -Out "./bin/$($_.outName)" Invoke-WebRequest $download -Out "./bin/$($_.outName)"
} }
$compress = @{ $compress = @{

View file

@ -4,11 +4,11 @@
"homepage": "https://ohmyposh.dev", "homepage": "https://ohmyposh.dev",
"license": { "license": {
"identifier": "GPL-3.0-only", "identifier": "GPL-3.0-only",
"url": "https://github.com/JanDeDobbeleer/oh-my-posh3/blob/main/COPYING" "url": "https://github.com/JanDeDobbeleer/oh-my-posh/blob/main/COPYING"
}, },
"architecture": { "architecture": {
"64bit": { "64bit": {
"url": "https://github.com/JanDeDobbeleer/oh-my-posh3/releases/download/v<VERSION>/posh-windows-wsl-amd64.7z", "url": "https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v<VERSION>/posh-windows-wsl-amd64.7z",
"hash": "<HASH>" "hash": "<HASH>"
} }
}, },
@ -17,7 +17,7 @@
"oh-my-posh.exe" "oh-my-posh.exe"
], ],
"checkver": { "checkver": {
"github": "https://github.com/JanDeDobbeleer/oh-my-posh3" "github": "https://github.com/JanDeDobbeleer/oh-my-posh"
}, },
"post_install": [ "post_install": [
"Write-Host 'Thanks for installing Oh my Posh.'", "Write-Host 'Thanks for installing Oh my Posh.'",
@ -26,7 +26,7 @@
"autoupdate": { "autoupdate": {
"architecture": { "architecture": {
"64bit": { "64bit": {
"url": "https://github.com/JanDeDobbeleer/oh-my-posh3/releases/download/v$version/posh-windows-wsl-amd64.7z", "url": "https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v$version/posh-windows-wsl-amd64.7z",
"hash": { "hash": {
"url": "$url.sha256" "url": "$url.sha256"
} }

View file

@ -1,4 +1,4 @@
module github.com/jandedobbeleer/oh-my-posh3 module github.com/jandedobbeleer/oh-my-posh
go 1.15 go 1.15

View file

@ -60,7 +60,7 @@ func TestRuby(t *testing.T) {
DisplayVersion: true, DisplayVersion: true,
HasRubyFiles: true, HasRubyFiles: true,
HasAsdf: true, HasAsdf: true,
Version: "ruby 2.6.3 /Users/jan/Projects/oh-my-posh3/.tool-versions", Version: "ruby 2.6.3 /Users/jan/Projects/oh-my-posh/.tool-versions",
}, },
{ {
Case: "Version with asdf not set", Case: "Version with asdf not set",

View file

@ -8,7 +8,7 @@ import (
) )
const ( const (
cwd = "Projects/oh-my-posh3" cwd = "Projects/oh-my-posh"
) )
func TestMapSegmentWriterCanMap(t *testing.T) { func TestMapSegmentWriterCanMap(t *testing.T) {

View file

@ -1,5 +1,5 @@
{ {
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh3/main/themes/schema.json", "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [ "blocks": [
{ {
"type": "prompt", "type": "prompt",

View file

@ -1,5 +1,5 @@
{ {
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh3/main/themes/schema.json", "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [ "blocks": [
{ {
"type": "prompt", "type": "prompt",

View file

@ -1,5 +1,5 @@
{ {
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh3/main/themes/schema.json", "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [ "blocks": [
{ {
"type": "prompt", "type": "prompt",

View file

@ -1,5 +1,5 @@
{ {
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh3/main/themes/schema.json", "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [ "blocks": [
{ {
"type": "prompt", "type": "prompt",

View file

@ -1,5 +1,5 @@
{ {
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh3/main/themes/schema.json", "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [ "blocks": [
{ {
"type": "prompt", "type": "prompt",

View file

@ -1,5 +1,5 @@
{ {
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh3/main/themes/schema.json", "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [ "blocks": [
{ {
"type": "prompt", "type": "prompt",

View file

@ -1,5 +1,5 @@
{ {
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh3/main/themes/schema.json", "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [ "blocks": [
{ {
"type": "prompt", "type": "prompt",

View file

@ -1,5 +1,5 @@
{ {
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh3/main/themes/schema.json", "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [ "blocks": [
{ {
"type": "prompt", "type": "prompt",

View file

@ -1,5 +1,5 @@
{ {
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh3/main/themes/schema.json", "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [ "blocks": [
{ {
"type": "prompt", "type": "prompt",

View file

@ -1,5 +1,5 @@
{ {
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh3/main/themes/schema.json", "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [ "blocks": [
{ {
"type": "prompt", "type": "prompt",

View file

@ -1,5 +1,5 @@
{ {
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh3/main/themes/schema.json", "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [ "blocks": [
{ {
"type": "prompt", "type": "prompt",

View file

@ -1,5 +1,5 @@
{ {
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh3/main/themes/schema.json", "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [ "blocks": [
{ {
"type": "prompt", "type": "prompt",

View file

@ -1,5 +1,5 @@
{ {
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh3/main/themes/schema.json", "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [ "blocks": [
{ {
"type": "prompt", "type": "prompt",

View file

@ -1,5 +1,5 @@
{ {
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh3/main/themes/schema.json", "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [ "blocks": [
{ {
"type": "prompt", "type": "prompt",

View file

@ -1,5 +1,5 @@
{ {
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh3/main/themes/schema.json", "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [ "blocks": [
{ {
"type": "prompt", "type": "prompt",

View file

@ -1,5 +1,5 @@
{ {
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh3/main/themes/schema.json", "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [ "blocks": [
{ {
"type": "prompt", "type": "prompt",

View file

@ -1,5 +1,5 @@
{ {
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh3/main/themes/schema.json", "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [ "blocks": [
{ {
"type": "prompt", "type": "prompt",

View file

@ -1,5 +1,5 @@
{ {
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh3/main/themes/schema.json", "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"console_title": true, "console_title": true,
"console_title_style": "template", "console_title_style": "template",
"console_title_template": "{{if .Root}}(Admin){{end}} {{.Path}}", "console_title_template": "{{if .Root}}(Admin){{end}} {{.Path}}",

View file

@ -1,5 +1,5 @@
{ {
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh3/main/themes/schema.json", "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [ "blocks": [
{ {
"type": "prompt", "type": "prompt",

View file

@ -1,5 +1,5 @@
{ {
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh3/main/themes/schema.json", "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"final_space": true, "final_space": true,
"console_title": true, "console_title": true,
"console_title_style": "template", "console_title_style": "template",
@ -220,4 +220,4 @@
] ]
} }
] ]
} }

View file

@ -1,5 +1,5 @@
{ {
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh3/main/themes/schema.json", "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [ "blocks": [
{ {
"type": "prompt", "type": "prompt",

View file

@ -1,5 +1,5 @@
{ {
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh3/main/themes/schema.json", "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [ "blocks": [
{ {
"type": "prompt", "type": "prompt",

View file

@ -1,5 +1,5 @@
{ {
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh3/main/themes/schema.json", "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [ "blocks": [
{ {
"type": "prompt", "type": "prompt",