diff --git a/.gitignore b/.gitignore index fbeca5394d27..9f402d35826f 100644 --- a/.gitignore +++ b/.gitignore @@ -149,6 +149,6 @@ dist # End of https://www.toptal.com/developers/gitignore/api/node,go,visualstudiocode # linux binary -/src/oh-my-posh3 +/src/oh-my-posh bin/ Output/ diff --git a/README.md b/README.md index bdbaa7ca73a1..81474c22eb6f 100644 --- a/README.md +++ b/README.md @@ -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]) * [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 [powershell-gallery]: https://www.powershellgallery.com/packages/oh-my-posh/ -[report-card]: https://goreportcard.com/badge/github.com/jandedobbeleer/oh-my-posh3 -[report-card-link]: https://goreportcard.com/report/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-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]: https://www.patreon.com/jandedobbeleer diff --git a/docs/docs/configuration.md b/docs/docs/configuration.md index 29e4a4c76393..a455bf4b6295 100644 --- a/docs/docs/configuration.md +++ b/docs/docs/configuration.md @@ -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 [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/ [segments]: /docs/battery [colors]: #colors diff --git a/docs/docs/contributing-segment.md b/docs/docs/contributing-segment.md index e8cc48e68c19..43bc4b7a7463 100644 --- a/docs/docs/contributing-segment.md +++ b/docs/docs/contributing-segment.md @@ -165,8 +165,8 @@ At `$.definitions.segment.allOf`, add your segment details: And be patient, I'm going as fast as I can 🏎 -[segment-go]: https://github.com/JanDeDobbeleer/oh-my-posh3/blob/main/segment.go -[themes]: https://github.com/JanDeDobbeleer/oh-my-posh3/tree/main/themes -[docs]: https://github.com/JanDeDobbeleer/oh-my-posh3/tree/main/docs/docs -[sidebars]: https://github.com/JanDeDobbeleer/oh-my-posh3/blob/main/docs/sidebars.js +[segment-go]: https://github.com/JanDeDobbeleer/oh-my-posh/blob/main/segment.go +[themes]: https://github.com/JanDeDobbeleer/oh-my-posh/tree/main/themes +[docs]: https://github.com/JanDeDobbeleer/oh-my-posh/tree/main/docs/docs +[sidebars]: https://github.com/JanDeDobbeleer/oh-my-posh/blob/main/docs/sidebars.js [nf-icons]: https://www.nerdfonts.com/cheat-sheet diff --git a/docs/docs/contributing-started.mdx b/docs/docs/contributing-started.mdx index 8024ede3ba4a..2274ceb411a4 100644 --- a/docs/docs/contributing-started.mdx +++ b/docs/docs/contributing-started.mdx @@ -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 `` with your Github username. ```bash -git clone git@github.com:/oh-my-posh3.git +git clone git@github.com:/oh-my-posh.git ``` ## 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 [go-bindata]: https://github.com/kevinburke/go-bindata/ [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 -[gh-pr]: https://github.com/JanDeDobbeleer/oh-my-posh3/pulls -[omp]: https://github.com/JanDeDobbeleer/oh-my-posh3 +[pr-go-mod]: https://github.com/JanDeDobbeleer/oh-my-posh/blob/main/.github/workflows/gomod.yml +[gh-pr]: https://github.com/JanDeDobbeleer/oh-my-posh/pulls +[omp]: https://github.com/JanDeDobbeleer/oh-my-posh [gh-fork]: https://guides.github.com/activities/forking/ diff --git a/docs/docs/installation.mdx b/docs/docs/installation.mdx index e401ce7b7ad5..2a50fc30d177 100644 --- a/docs/docs/installation.mdx +++ b/docs/docs/installation.mdx @@ -93,7 +93,7 @@ A [Scoop][scoop] package is available for easy installation. #### Installation ```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: @@ -163,7 +163,7 @@ brew upgrade oh-my-posh #### Installation ```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 ``` @@ -171,7 +171,7 @@ chmod +x /usr/local/bin/oh-my-posh ```bash 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 chmod u+rw ~/.poshthemes/*.json rm ~/.poshthemes/themes.zip @@ -382,9 +382,9 @@ oh-my-posh --config ~/.mytheme.omp.json [nerdfonts]: https://www.nerdfonts.com/ [nf-cheat]: https://www.nerdfonts.com/cheat-sheet [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 -[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 [brew]: https://brew.sh [prompt]: /docs/installation#3-replace-your-existing-prompt diff --git a/docs/docs/introduction.md b/docs/docs/introduction.md index d3185b0cba20..22f01cf7d0b5 100644 --- a/docs/docs/introduction.md +++ b/docs/docs/introduction.md @@ -63,9 +63,9 @@ can get started even without having to understand the theming. So, let's no long [![Liberapay][liberapay-badge]][liberapay] [![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 -[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 [install]: /docs/installation [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 [block]: /docs/configure#block [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 diff --git a/docs/docs/themes.md b/docs/docs/themes.md index 2e2c3906af15..3c95a5a0af4b 100644 --- a/docs/docs/themes.md +++ b/docs/docs/themes.md @@ -80,22 +80,22 @@ sidebar_label: 🎨 Themes [![Zash](/img/themes/zash.png)][Zash] -[Agnoster]: https://github.com/JanDeDobbeleer/oh-my-posh3/blob/main/themes/agnoster.omp.json 'Agnoster' -[AgnosterPlus]: https://github.com/JanDeDobbeleer/oh-my-posh3/blob/main/themes/agnosterplus.omp.json 'AgnosterPlus' -[Aliens]: https://github.com/JanDeDobbeleer/oh-my-posh3/blob/main/themes/aliens.omp.json 'Aliens' -[Avit]: https://github.com/JanDeDobbeleer/oh-my-posh3/blob/main/themes/avit.omp.json 'Avit' -[DarkBlood]: https://github.com/JanDeDobbeleer/oh-my-posh3/blob/main/themes/darkblood.omp.json 'DarkBlood' -[Emodipt]: https://github.com/JanDeDobbeleer/oh-my-posh3/blob/main/themes/emodipt.omp.json 'Emodipt' -[Fish]: https://github.com/JanDeDobbeleer/oh-my-posh3/blob/main/themes/fish.omp.json 'Fish' -[Honukai]: https://github.com/JanDeDobbeleer/oh-my-posh3/blob/main/themes/honukai.omp.json 'Honukai' -[JanDeDobbeleer]: https://github.com/JanDeDobbeleer/oh-my-posh3/blob/main/themes/jandedobbeleer.omp.json 'JanDeDobbeleer' -[Lambda]: https://github.com/JanDeDobbeleer/oh-my-posh3/blob/main/themes/lambda.omp.json 'Lambda' -[Material]: https://github.com/JanDeDobbeleer/oh-my-posh3/blob/main/themes/material.omp.json 'Material' -[ParaRussel]: https://github.com/JanDeDobbeleer/oh-my-posh3/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_Lean]: https://github.com/JanDeDobbeleer/oh-my-posh3/blob/main/themes/powerlevel10k_lean.omp.json 'Powerlevel10k_Lean' -[PowerLine]: https://github.com/JanDeDobbeleer/oh-my-posh3/blob/main/themes/powerline.omp.json 'PowerLine' -[RobbyRussel]: https://github.com/JanDeDobbeleer/oh-my-posh3/blob/main/themes/robbyrussel.omp.json 'RobbyRussel' -[Sorin]: https://github.com/JanDeDobbeleer/oh-my-posh3/blob/main/themes/sorin.omp.json 'Sorin' -[Star]: https://github.com/JanDeDobbeleer/oh-my-posh3/blob/main/themes/star.omp.json 'Star' -[Zash]: https://github.com/JanDeDobbeleer/oh-my-posh3/blob/main/themes/zash.omp.json 'Zash' +[Agnoster]: https://github.com/JanDeDobbeleer/oh-my-posh/blob/main/themes/agnoster.omp.json 'Agnoster' +[AgnosterPlus]: https://github.com/JanDeDobbeleer/oh-my-posh/blob/main/themes/agnosterplus.omp.json 'AgnosterPlus' +[Aliens]: https://github.com/JanDeDobbeleer/oh-my-posh/blob/main/themes/aliens.omp.json 'Aliens' +[Avit]: https://github.com/JanDeDobbeleer/oh-my-posh/blob/main/themes/avit.omp.json 'Avit' +[DarkBlood]: https://github.com/JanDeDobbeleer/oh-my-posh/blob/main/themes/darkblood.omp.json 'DarkBlood' +[Emodipt]: https://github.com/JanDeDobbeleer/oh-my-posh/blob/main/themes/emodipt.omp.json 'Emodipt' +[Fish]: https://github.com/JanDeDobbeleer/oh-my-posh/blob/main/themes/fish.omp.json 'Fish' +[Honukai]: https://github.com/JanDeDobbeleer/oh-my-posh/blob/main/themes/honukai.omp.json 'Honukai' +[JanDeDobbeleer]: https://github.com/JanDeDobbeleer/oh-my-posh/blob/main/themes/jandedobbeleer.omp.json 'JanDeDobbeleer' +[Lambda]: https://github.com/JanDeDobbeleer/oh-my-posh/blob/main/themes/lambda.omp.json 'Lambda' +[Material]: https://github.com/JanDeDobbeleer/oh-my-posh/blob/main/themes/material.omp.json 'Material' +[ParaRussel]: https://github.com/JanDeDobbeleer/oh-my-posh/blob/main/themes/ParaRussel.omp.json 'ParaRussel' +[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-posh/blob/main/themes/powerlevel10k_lean.omp.json 'Powerlevel10k_Lean' +[PowerLine]: https://github.com/JanDeDobbeleer/oh-my-posh/blob/main/themes/powerline.omp.json 'PowerLine' +[RobbyRussel]: https://github.com/JanDeDobbeleer/oh-my-posh/blob/main/themes/robbyrussel.omp.json 'RobbyRussel' +[Sorin]: https://github.com/JanDeDobbeleer/oh-my-posh/blob/main/themes/sorin.omp.json 'Sorin' +[Star]: https://github.com/JanDeDobbeleer/oh-my-posh/blob/main/themes/star.omp.json 'Star' +[Zash]: https://github.com/JanDeDobbeleer/oh-my-posh/blob/main/themes/zash.omp.json 'Zash' diff --git a/docs/docs/upgrading.md b/docs/docs/upgrading.md index c066e40917c0..41884a6565be 100644 --- a/docs/docs/upgrading.md +++ b/docs/docs/upgrading.md @@ -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 [golang]: https://golang.org/ [introduction]: /docs/#concept -[v3]: https://github.com/JanDeDobbeleer/oh-my-posh3/ -[themesv3]: https://github.com/JanDeDobbeleer/oh-my-posh3/tree/main/themes +[v3]: https://github.com/JanDeDobbeleer/oh-my-posh/ +[themesv3]: https://github.com/JanDeDobbeleer/oh-my-posh/tree/main/themes [configuration]: /docs/configure -[issues]: https://github.com/JanDeDobbeleer/oh-my-posh3/issues/new +[issues]: https://github.com/JanDeDobbeleer/oh-my-posh/issues/new diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js index 2ab4cd14e19e..0d4ec994bab6 100644 --- a/docs/docusaurus.config.js +++ b/docs/docusaurus.config.js @@ -1,11 +1,11 @@ module.exports = { - title: "Oh my Posh 3", + title: "Oh my Posh", tagline: "A prompt theme engine for any shell.", url: "https://ohmyposh.dev", baseUrl: "/", favicon: "img/favicon.ico", organizationName: "jandedobbeleer", - projectName: "oh-my-posh3", + projectName: "oh-my-posh", onBrokenLinks: "ignore", themeConfig: { sidebarCollapsible: false, @@ -27,7 +27,7 @@ module.exports = { position: "left", }, { - href: "https://github.com/jandedobbeleer/oh-my-posh3", + href: "https://github.com/jandedobbeleer/oh-my-posh", label: "GitHub", position: "right", }, @@ -58,7 +58,7 @@ module.exports = { items: [ { label: "GitHub", - href: "https://github.com/jandedobbeleer/oh-my-posh3", + href: "https://github.com/jandedobbeleer/oh-my-posh", }, { label: "Twitter", @@ -89,7 +89,7 @@ module.exports = { { docs: { 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: { customCss: require.resolve("./src/css/custom.css"), diff --git a/packages/inno/build.ps1 b/packages/inno/build.ps1 index 8a19ffadf2de..008c6e661c75 100644 --- a/packages/inno/build.ps1 +++ b/packages/inno/build.ps1 @@ -10,11 +10,11 @@ Copy-Item -Path "../../themes" -Destination "./bin" -Recurse # download the files and pack them @{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)" } # 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 = $content.Replace('', $Version) $content | Out-File -Encoding 'UTF8' ".oh-my-posh-$Version.iss" diff --git a/packages/inno/oh-my-posh.iss b/packages/inno/oh-my-posh.iss index 72c6c27912a4..d2a9a36971db 100644 --- a/packages/inno/oh-my-posh.iss +++ b/packages/inno/oh-my-posh.iss @@ -6,7 +6,7 @@ DefaultGroupName=Oh my Posh PrivilegesRequired=lowest AppPublisher=Jan De Dobbeleer 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" OutputBaseFilename=install diff --git a/packages/powershell/oh-my-posh/deploy.ps1 b/packages/powershell/oh-my-posh/deploy.ps1 index 1eb2536a8bad..c0ec67f45f43 100644 --- a/packages/powershell/oh-my-posh/deploy.ps1 +++ b/packages/powershell/oh-my-posh/deploy.ps1 @@ -21,7 +21,7 @@ Copy-Item -Path "../../../themes" -Destination "./themes" -Recurse # fetch all the binaries from the version's GitHub release New-Item -Path "./" -Name "bin" -ItemType "directory" "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/$_" } # publish the module diff --git a/packages/powershell/oh-my-posh/oh-my-posh.psd1 b/packages/powershell/oh-my-posh/oh-my-posh.psd1 index c69e34fe24d0..c3a494a93c78 100644 --- a/packages/powershell/oh-my-posh/oh-my-posh.psd1 +++ b/packages/powershell/oh-my-posh/oh-my-posh.psd1 @@ -1,5 +1,5 @@ # -# Module manifest for module 'oh-my-posh3' +# Module manifest for module 'oh-my-posh' # # Generated by: Jan De Dobbeleer # @@ -39,9 +39,9 @@ # 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') # 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. - ProjectUri = 'https://github.com/JanDeDobbeleer/oh-my-posh3' + ProjectUri = 'https://github.com/JanDeDobbeleer/oh-my-posh' } # End of PSData hashtable } # End of PrivateData hashtable } diff --git a/packages/scoop/build.ps1 b/packages/scoop/build.ps1 index 8faad24dbc57..6ef1f9690d53 100644 --- a/packages/scoop/build.ps1 +++ b/packages/scoop/build.ps1 @@ -10,7 +10,7 @@ Copy-Item -Path "../../themes" -Destination "./bin" -Recurse # 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 { - $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)" } $compress = @{ diff --git a/packages/scoop/oh-my-posh.json b/packages/scoop/oh-my-posh.json index 5c9449f32159..251405c94a36 100644 --- a/packages/scoop/oh-my-posh.json +++ b/packages/scoop/oh-my-posh.json @@ -4,11 +4,11 @@ "homepage": "https://ohmyposh.dev", "license": { "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": { "64bit": { - "url": "https://github.com/JanDeDobbeleer/oh-my-posh3/releases/download/v/posh-windows-wsl-amd64.7z", + "url": "https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v/posh-windows-wsl-amd64.7z", "hash": "" } }, @@ -17,7 +17,7 @@ "oh-my-posh.exe" ], "checkver": { - "github": "https://github.com/JanDeDobbeleer/oh-my-posh3" + "github": "https://github.com/JanDeDobbeleer/oh-my-posh" }, "post_install": [ "Write-Host 'Thanks for installing Oh my Posh.'", @@ -26,7 +26,7 @@ "autoupdate": { "architecture": { "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": { "url": "$url.sha256" } diff --git a/src/go.mod b/src/go.mod index 91abe217c3a8..5a4312705d53 100644 --- a/src/go.mod +++ b/src/go.mod @@ -1,4 +1,4 @@ -module github.com/jandedobbeleer/oh-my-posh3 +module github.com/jandedobbeleer/oh-my-posh go 1.15 diff --git a/src/segment_ruby_test.go b/src/segment_ruby_test.go index d8ed611987e9..a11faf70c20b 100755 --- a/src/segment_ruby_test.go +++ b/src/segment_ruby_test.go @@ -60,7 +60,7 @@ func TestRuby(t *testing.T) { DisplayVersion: true, HasRubyFiles: 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", diff --git a/src/segment_test.go b/src/segment_test.go index 38758ea923a9..ada2bedf1589 100644 --- a/src/segment_test.go +++ b/src/segment_test.go @@ -8,7 +8,7 @@ import ( ) const ( - cwd = "Projects/oh-my-posh3" + cwd = "Projects/oh-my-posh" ) func TestMapSegmentWriterCanMap(t *testing.T) { diff --git a/themes/agnoster.omp.json b/themes/agnoster.omp.json index 2636a978b316..b9f0fc607888 100644 --- a/themes/agnoster.omp.json +++ b/themes/agnoster.omp.json @@ -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": [ { "type": "prompt", diff --git a/themes/agnosterplus.omp.json b/themes/agnosterplus.omp.json index df4cfa5e83e9..210f4152b686 100644 --- a/themes/agnosterplus.omp.json +++ b/themes/agnosterplus.omp.json @@ -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": [ { "type": "prompt", diff --git a/themes/aliens.omp.json b/themes/aliens.omp.json index f842fae8b13f..9bae51cc21ce 100644 --- a/themes/aliens.omp.json +++ b/themes/aliens.omp.json @@ -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": [ { "type": "prompt", diff --git a/themes/avit.omp.json b/themes/avit.omp.json index 678a772ce989..710a81f0d3a2 100644 --- a/themes/avit.omp.json +++ b/themes/avit.omp.json @@ -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": [ { "type": "prompt", diff --git a/themes/darkblood.omp.json b/themes/darkblood.omp.json index a5992cf31ede..39b9a2f08c33 100644 --- a/themes/darkblood.omp.json +++ b/themes/darkblood.omp.json @@ -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": [ { "type": "prompt", diff --git a/themes/emodipt.omp.json b/themes/emodipt.omp.json index f7ba4eaa89c2..0b1fb140b9b8 100644 --- a/themes/emodipt.omp.json +++ b/themes/emodipt.omp.json @@ -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": [ { "type": "prompt", diff --git a/themes/fish.omp.json b/themes/fish.omp.json index 02d6fd4ded87..2085c0856130 100644 --- a/themes/fish.omp.json +++ b/themes/fish.omp.json @@ -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": [ { "type": "prompt", diff --git a/themes/honukai.omp.json b/themes/honukai.omp.json index 958e908c6829..c7a8824ef234 100644 --- a/themes/honukai.omp.json +++ b/themes/honukai.omp.json @@ -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": [ { "type": "prompt", diff --git a/themes/jandedobbeleer.omp.json b/themes/jandedobbeleer.omp.json index dcd47c2e5afc..9d068a7791e9 100644 --- a/themes/jandedobbeleer.omp.json +++ b/themes/jandedobbeleer.omp.json @@ -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": [ { "type": "prompt", diff --git a/themes/lambda.omp.json b/themes/lambda.omp.json index 6008fae74c3f..0e6da229d64e 100644 --- a/themes/lambda.omp.json +++ b/themes/lambda.omp.json @@ -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": [ { "type": "prompt", diff --git a/themes/material.omp.json b/themes/material.omp.json index fef3f8b78a8b..4dab4a25096b 100644 --- a/themes/material.omp.json +++ b/themes/material.omp.json @@ -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": [ { "type": "prompt", diff --git a/themes/negligible.omp.json b/themes/negligible.omp.json index 4061a93df3e5..c5e192f7d9cd 100644 --- a/themes/negligible.omp.json +++ b/themes/negligible.omp.json @@ -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": [ { "type": "prompt", diff --git a/themes/paradox.omp.json b/themes/paradox.omp.json index 2618cc82f990..6a2c0695304a 100644 --- a/themes/paradox.omp.json +++ b/themes/paradox.omp.json @@ -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": [ { "type": "prompt", diff --git a/themes/pararussel.omp.json b/themes/pararussel.omp.json index aa8f3cb3fd70..183a6ef27068 100644 --- a/themes/pararussel.omp.json +++ b/themes/pararussel.omp.json @@ -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": [ { "type": "prompt", diff --git a/themes/powerlevel10k_classic.omp.json b/themes/powerlevel10k_classic.omp.json index 067c1b7f2640..6348f71cb46d 100644 --- a/themes/powerlevel10k_classic.omp.json +++ b/themes/powerlevel10k_classic.omp.json @@ -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": [ { "type": "prompt", diff --git a/themes/powerlevel10k_lean.omp.json b/themes/powerlevel10k_lean.omp.json index b3f374e3cf68..774f3bae9047 100644 --- a/themes/powerlevel10k_lean.omp.json +++ b/themes/powerlevel10k_lean.omp.json @@ -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": [ { "type": "prompt", diff --git a/themes/powerline.omp.json b/themes/powerline.omp.json index bd49d1b40595..506e1a0db3a8 100644 --- a/themes/powerline.omp.json +++ b/themes/powerline.omp.json @@ -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": [ { "type": "prompt", diff --git a/themes/pure.omp.json b/themes/pure.omp.json index 2ac87da3317b..846b5cf64b91 100644 --- a/themes/pure.omp.json +++ b/themes/pure.omp.json @@ -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_style": "template", "console_title_template": "{{if .Root}}(Admin){{end}} {{.Path}}", diff --git a/themes/robbyrussel.omp.json b/themes/robbyrussel.omp.json index f05bfd5b0b91..cab72f125780 100644 --- a/themes/robbyrussel.omp.json +++ b/themes/robbyrussel.omp.json @@ -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": [ { "type": "prompt", diff --git a/themes/slim.omp.json b/themes/slim.omp.json index a9158ee49172..c72337c3d278 100644 --- a/themes/slim.omp.json +++ b/themes/slim.omp.json @@ -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, "console_title": true, "console_title_style": "template", @@ -220,4 +220,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/themes/sorin.omp.json b/themes/sorin.omp.json index 96ae9123bf24..7257f238d1fc 100644 --- a/themes/sorin.omp.json +++ b/themes/sorin.omp.json @@ -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": [ { "type": "prompt", diff --git a/themes/star.omp.json b/themes/star.omp.json index 938d99514747..209a3db34331 100644 --- a/themes/star.omp.json +++ b/themes/star.omp.json @@ -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": [ { "type": "prompt", diff --git a/themes/zash.omp.json b/themes/zash.omp.json index c191d7e9041e..c917a7340a0e 100644 --- a/themes/zash.omp.json +++ b/themes/zash.omp.json @@ -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": [ { "type": "prompt",