1 # --- T2-COPYRIGHT-BEGIN ---
2 # t2/package/*/oh-my-posh/no-notice.patch.disabled
3 # Copyright (C) 2023 - 2025 The T2 SDE Project
4 # SPDX-License-Identifier: GPL-2.0 or patched project license
5 # --- T2-COPYRIGHT-END ---
7 Avoid checking the web for newer versions at startup as it
8 might be a security risk depending on your threat model.
10 - NoTag <notag@maneto.fr>
12 --- oh-my-posh-14.26.0/src/shell/init.go.vanilla 2023-06-06 18:27:38.641000000 +0300
13 +++ oh-my-posh-14.26.0/src/shell/init.go 2023-06-06 18:28:25.724000000 +0300
16 "github.com/jandedobbeleer/oh-my-posh/src/platform"
17 "github.com/jandedobbeleer/oh-my-posh/src/template"
18 - "github.com/jandedobbeleer/oh-my-posh/src/upgrade"
21 //go:embed scripts/omp.ps1
23 // only run this for shells that support
24 // injecting the notice directly
25 if shell != PWSH && shell != PWSH5 {
26 - notice, hasNotice = upgrade.Notice(env)
27 + notice, hasNotice = "", false // upgrade.Notice(env)
30 return strings.NewReplacer(