Repository: JanDeDobbeleer/oh-my-posh
Pull request #6232 (2025-03-06 00:41:02)

chore: bump the minor-patch group in /src with 4 updates
Bumps the minor-patch group in /src with 4 updates: [golang.org/x/image](https://github.com/golang/image), [golang.org/x/sys](https://github.com/golang/sys), [golang.org/x/text](https://github.com/golang/text) and [golang.org/x/mod](https://github.com/golang/mod).

Updates `golang.org/x/image` from 0.24.0 to 0.25.0
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/golang/image/commit/e7e23ba50196f0b209e707121bd3fdfab8e7eea5"><code>e7e23ba</code></a> go.mod: update golang.org/x dependencies</li>
<li><a href="https://github.com/golang/image/commit/58efddcdbffb077b01a1cfd5978e2d77f876a65e"><code>58efddc</code></a> all: use a more straightforward return value</li>
<li><a href="https://github.com/golang/image/commit/ef6c1ab6fef58f6d0dd4dfeb34f9efa4e8200753"><code>ef6c1ab</code></a> all: upgrade go directive to at least 1.23.0 [generated]</li>
<li>See full diff in <a href="https://github.com/golang/image/compare/v0.24.0...v0.25.0">compare view</a></li>
</ul>
</details>
<br />

Updates `golang.org/x/sys` from 0.30.0 to 0.31.0
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/golang/sys/commit/74cfc93a99be6ca6f193856132e6799065b071af"><code>74cfc93</code></a> all: upgrade go directive to at least 1.23.0 [generated]</li>
<li>See full diff in <a href="https://github.com/golang/sys/compare/v0.30.0...v0.31.0">compare view</a></li>
</ul>
</details>
<br />

Updates `golang.org/x/text` from 0.22.0 to 0.23.0
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/golang/text/commit/566b44fc931e2542778a18423c655ce99b4f1402"><code>566b44f</code></a> go.mod: update golang.org/x dependencies</li>
<li><a href="https://github.com/golang/text/commit/d5156da34ee45c60eb41ec2ec3a98d885a0c39eb"><code>d5156da</code></a> collate/build: do not use println in tests</li>
<li><a href="https://github.com/golang/text/commit/221d88cef7bcfb033ba5c9bcdb542c653a3ffd23"><code>221d88c</code></a> x/text: fix scientific notation by removing extraneous spaces</li>
<li><a href="https://github.com/golang/text/commit/b18c10747b869c14ee013a92c21e7e42da50e275"><code>b18c107</code></a> internal/export/unicode: change C comment to mention unassigned code points</li>
<li><a href="https://github.com/golang/text/commit/835f8ac434b1ee6d687ff14591a696da59055dd1"><code>835f8ac</code></a> language: use a more straightforward return value</li>
<li><a href="https://github.com/golang/text/commit/ae68efb59e4cb5ce58d9f0e6fc159aced193cc05"><code>ae68efb</code></a> internal/export/unicode: add CategoryAliases, Cn, and LC</li>
<li><a href="https://github.com/golang/text/commit/518d9c01744991a7d953034165c4f6150a24a76c"><code>518d9c0</code></a> all: upgrade go directive to at least 1.23.0 [generated]</li>
<li>See full diff in <a href="https://github.com/golang/text/compare/v0.22.0...v0.23.0">compare view</a></li>
</ul>
</details>
<br />

Updates `golang.org/x/mod` from 0.23.0 to 0.24.0
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/golang/mod/commit/dc121ce20ffab6bb810a0f231cfa9c24d3e51b29"><code>dc121ce</code></a> all: upgrade go directive to at least 1.23.0 [generated]</li>
<li>See full diff in <a href="https://github.com/golang/mod/compare/v0.23.0...v0.24.0">compare view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions


</details>


Patch:
diff --git a/.all-contributorsrc b/.all-contributorsrc
index 8e4505ea..2d3b29e8 100644
--- a/.all-contributorsrc
+++ b/.all-contributorsrc
@@ -3011,6 +3011,15 @@
         "code",
         "doc"
       ]
+    },
+    {
+      "login": "Mr-Vipi",
+      "name": "Jul Guga",
+      "avatar_url": "https://avatars.githubusercontent.com/u/58825526?v=4",
+      "profile": "https://github.com/Mr-Vipi",
+      "contributions": [
+        "design"
+      ]
     }
   ],
   "contributorsPerLine": 7,
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json
index e8378efe..b233a653 100644
--- a/.devcontainer/devcontainer.json
+++ b/.devcontainer/devcontainer.json
@@ -8,7 +8,7 @@
       // Update the VARIANT arg to pick a version of Go: 1, 1.16, 1.17
       // Append -bullseye or -buster to pin to an OS version.
       // Use -bullseye variants on local arm64/Apple Silicon.
-      "VARIANT": "1-1.22-bullseye",
+      "VARIANT": "1-1.24-bullseye",
 
       // Override me with your own timezone:
       "TZ": "UTC",
diff --git a/.github/workflows/composite/bootstrap-go/action.yml b/.github/workflows/composite/bootstrap-go/action.yml
index fac58d6b..a9660807 100644
--- a/.github/workflows/composite/bootstrap-go/action.yml
+++ b/.github/workflows/composite/bootstrap-go/action.yml
@@ -9,5 +9,5 @@ runs:
   steps:
     - uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491
       with:
-        go-version: '1.23.2'
+        go-version: '1.24.1'
         cache-dependency-path: src/go.sum
diff --git a/src/go.mod b/src/go.mod
index 6fda238c..6f5eff7d 100644
--- a/src/go.mod
+++ b/src/go.mod
@@ -1,6 +1,6 @@
 module github.com/jandedobbeleer/oh-my-posh/src
 
-go 1.22.3
+go 1.24.1
 
 require (
 	github.com/Azure/go-ansiterm v0.0.0-20250102033503-faa5f7b0171c
@@ -20,9 +20,9 @@ require (
 	github.com/stretchr/testify v1.10.0
 	github.com/wayneashleyberry/terminal-dimensions v1.1.0
 	golang.org/x/crypto v0.31.0 // indirect
-	golang.org/x/image v0.24.0
-	golang.org/x/sys v0.30.0
-	golang.org/x/text v0.22.0
+	golang.org/x/image v0.25.0
+	golang.org/x/sys v0.31.0
+	golang.org/x/text v0.23.0
 	gopkg.in/ini.v1 v1.67.0
 )
 
@@ -39,7 +39,7 @@ require (
 	github.com/pelletier/go-toml/v2 v2.2.3
 	github.com/spf13/cobra v1.9.1
 	github.com/spf13/pflag v1.0.6
-	golang.org/x/mod v0.23.0
+	golang.org/x/mod v0.24.0
 	gopkg.in/yaml.v3 v3.0.1
 )
 
@@ -86,7 +86,7 @@ require (
 	github.com/yusufpapurcu/wmi v1.2.4 // indirect
 	github.com/zclconf/go-cty v1.15.1 // indirect
 	golang.org/x/exp v0.0.0-20241217172543-b2144cdd0a67 // indirect
-	golang.org/x/sync v0.11.0 // indirect
+	golang.org/x/sync v0.12.0 // indirect
 	golang.org/x/tools v0.28.0 // indirect
 )
 
diff --git a/src/go.sum b/src/go.sum
index b578dfba..a5753252 100644
--- a/src/go.sum
+++ b/src/go.sum
@@ -166,23 +166,23 @@ golang.org/x/crypto v0.31.0 h1:ihbySMvVjLAeSH1IbfcRTkD/iNscyz8rGzjF/E5hV6U=
 golang.org/x/crypto v0.31.0/go.mod h1:kDsLvtWBEx7MV9tJOj9bnXsPbxwJQ6csT/x4KIN4Ssk=
 golang.org/x/exp v0.0.0-20241217172543-b2144cdd0a67 h1:1UoZQm6f0P/ZO0w1Ri+f+ifG/gXhegadRdwBIXEFWDo=
 golang.org/x/exp v0.0.0-20241217172543-b2144cdd0a67/go.mod h1:qj5a5QZpwLU2NLQudwIN5koi3beDhSAlJwa67PuM98c=
-golang.org/x/image v0.24.0 h1:AN7zRgVsbvmTfNyqIbbOraYL8mSwcKncEj8ofjgzcMQ=
-golang.org/x/image v0.24.0/go.mod h1:4b/ITuLfqYq1hqZcjofwctIhi7sZh2WaCjvsBNjjya8=
-golang.org/x/mod v0.23.0 h1:Zb7khfcRGKk+kqfxFaP5tZqCnDZMjC5VtUBs87Hr6QM=
-golang.org/x/mod v0.23.0/go.mod h1:6SkKJ3Xj0I0BrPOZoBy3bdMptDDU9oJrpohJ3eWZ1fY=
-golang.org/x/sync v0.11.0 h1:GGz8+XQP4FvTTrjZPzNKTMFtSXH80RAzG+5ghFPgK9w=
-golang.org/x/sync v0.11.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
+golang.org/x/image v0.25.0 h1:Y6uW6rH1y5y/LK1J8BPWZtr6yZ7hrsy6hFrXjgsc2fQ=
+golang.org/x/image v0.25.0/go.mod h1:tCAmOEGthTtkalusGp1g3xa2gke8J6c2N565dTyl9Rs=
+golang.org/x/mod v0.24.0 h1:ZfthKaKaT4NrhGVZHO1/WDTwGES4De8KtWO0SIbNJMU=
+golang.org/x/mod v0.24.0/go.mod h1:IXM97Txy2VM4PJ3gI61r1YEk/gAj6zAHN3AdZt6S9Ww=
+golang.org/x/sync v0.12.0 h1:MHc5BpPuC30uJk597Ri8TV3CNZcTLu6B6z4lJy+g6Jw=
+golang.org/x/sync v0.12.0/go.mod h1:1dzgHSNfp02xaA81J2MS99Qcpr2w7fw1gpm99rleRqA=
 golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
 golang.org/x/sys v0.0.0-20201204225414-ed752295db88/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
 golang.org/x/sys v0.0.0-20210616094352-59db8d763f22/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
 golang.org/x/sys v0.0.0-20210809222454-d867a43fc93e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
 golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
 golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.30.0 h1:QjkSwP/36a20jFYWkSue1YwXzLmsV5Gfq7Eiy72C1uc=
-golang.org/x/sys v0.30.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
+golang.org/x/sys v0.31.0 h1:ioabZlmFYtWhL+TRYpcnNlLwhyxaM9kWTDEmfnprqik=
+golang.org/x/sys v0.31.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k=
 golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
-golang.org/x/text v0.22.0 h1:bofq7m3/HAFvbF51jz3Q9wLg3jkvSPuiZu/pD1XwgtM=
-golang.org/x/text v0.22.0/go.mod h1:YRoo4H8PVmsu+E3Ou7cqLVH8oXWIHVoX0jqUWALQhfY=
+golang.org/x/text v0.23.0 h1:D71I7dUrlY+VX0gQShAThNGHFxZ13dGLBHQLVl1mJlY=
+golang.org/x/text v0.23.0/go.mod h1:/BLNzu4aZCJ1+kcD0DNRotWKage4q2rGVAg4o22unh4=
 golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
 golang.org/x/tools v0.28.0 h1:WuB6qZ4RPCQo5aP3WdKZS7i595EdWqWR8vqJTlwTVK8=
 golang.org/x/tools v0.28.0/go.mod h1:dcIOrVd3mfQKTgrDVQHqCPMWy6lnhfhtX3hLXYVLfRw=
diff --git a/themes/night-owl.omp.json b/themes/night-owl.omp.json
index 1c3cfa0d..2733342d 100644
--- a/themes/night-owl.omp.json
+++ b/themes/night-owl.omp.json
@@ -54,10 +54,14 @@
             "fetch_stash_count": true,
             "fetch_status": true,
             "fetch_upstream_icon": true,
-            "fetch_worktree_count": true
+            "fetch_worktree_count": true,
+            "mapped_branches": {
+              "feat/*": "🚀 ",
+              "bug/*": "🐛 "
+            }
           },
           "style": "powerline",
-          "template": " {{ url .UpstreamIcon .UpstreamURL }}{{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \ueb4b {{ .StashCount }}{{ end }} ",
+          "template": " {{ .UpstreamIcon }} {{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \ueb4b {{ .StashCount }}{{ end }} ",
           "type": "git"
         },
         {
diff --git a/website/docs/contributing/started.mdx b/website/docs/contributing/started.mdx
index 542249e2..31d1235d 100644
--- a/website/docs/contributing/started.mdx
+++ b/website/docs/contributing/started.mdx
@@ -36,7 +36,7 @@ The codebase is in [go][go], meaning we need a working go setup before we can do
 Have a look at the [go guide][go-started] to get up and running with go in no time!
 
 :::caution
-Oh My Posh needs at least go 1.22
+Oh My Posh needs at least go 1.24.1
 :::
 
 ### golangci-lint
diff --git a/website/docs/contributors.md b/website/docs/contributors.md
index b6dcdae2..acbdd20a 100644
--- a/website/docs/contributors.md
+++ b/website/docs/contributors.md
@@ -422,6 +422,7 @@ Thanks goes to these wonderful people ([emoji key][acek]):
       <td align="center" valign="top" width="14.28%"><a href="https://dub.sh/boscodomingo"><img src="https://avatars.githubusercontent.com/u/46006784?v=4?s=100" width="100px;" alt="Bosco Domingo"/><br /><sub><b>Bosco Domingo</b></sub></a><br /><a href="https://github.com/JanDeDobbeleer/oh-my-posh/commits?author=BoscoDomingo" title="Code">💻</a></td>
       <td align="center" valign="top" width="14.28%"><a href="https://edu4rdshl.dev"><img src="https://avatars.githubusercontent.com/u/32582878?v=4?s=100" width="100px;" alt="Eduard Tolosa"/><br /><sub><b>Eduard Tolosa</b></sub></a><br /><a href="#design-Edu4rdSHL" title="Design">🎨</a> <a href="https://github.com/JanDeDobbeleer/oh-my-posh/commits?author=Edu4rdSHL" title="Documentation">📖</a></td>
       <td align="center" valign="top" width="14.28%"><a href="https://github.com/JamesAndrewJackson13"><img src="https://avatars.githubusercontent.com/u/27647566?v=4?s=100" width="100px;" alt="James Jackson"/><br /><sub><b>James Jackson</b></sub></a><br /><a href="https://github.com/JanDeDobbeleer/oh-my-posh/commits?author=JamesAndrewJackson13" title="Code">💻</a> <a href="https://github.com/JanDeDobbeleer/oh-my-posh/commits?author=JamesAndrewJackson13" title="Documentation">📖</a></td>
+      <td align="center" valign="top" width="14.28%"><a href="https://github.com/Mr-Vipi"><img src="https://avatars.githubusercontent.com/u/58825526?v=4?s=100" width="100px;" alt="Jul Guga"/><br /><sub><b>Jul Guga</b></sub></a><br /><a href="#design-Mr-Vipi" title="Design">🎨</a></td>
     </tr>
   </tbody>
 </table>


Test patch:
diff --git a/src/segments/golang_test.go b/src/segments/golang_test.go
index b955c2a6..2dafc59b 100644
--- a/src/segments/golang_test.go
+++ b/src/segments/golang_test.go
@@ -24,7 +24,7 @@ func TestGolang(t *testing.T) {
 	}{
 		{Case: "Go 1.15", ExpectedString: "1.15.8", Version: "go version go1.15.8 darwin/amd64"},
 		{Case: "Go 1.16", ExpectedString: "1.16", Version: "go version go1.16 darwin/amd64"},
-		{Case: "go.mod 1.22.3", ParseModFile: true, HasModFileInParentDir: true, ExpectedString: "1.22.3"},
+		{Case: "go.mod 1.24.1", ParseModFile: true, HasModFileInParentDir: true, ExpectedString: "1.24.1"},
 		{Case: "no go.mod file fallback", ParseModFile: true, ExpectedString: "1.16", Version: "go version go1.16 darwin/amd64"},
 		{
 			Case:                  "invalid go.mod file fallback",
@@ -49,7 +49,7 @@ func TestGolang(t *testing.T) {
 			HasModFileInParentDir:    true,
 			ParseGoWorkFile:          true,
 			HasGoWorkFileInParentDir: true,
-			ExpectedString:           "1.22.3",
+			ExpectedString:           "1.24.1",
 		},
 		{
 			Case:            "missing both go.mod and go.work file fallback",