mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-09 20:44:03 -08:00
docs: fix dead exit link
Fix a dead doc link. Context: #4084 renamed segment exit -> status.
This commit is contained in:
parent
0f8929ed13
commit
5e169f1599
|
@ -177,7 +177,7 @@ use them.
|
|||
To use another segment's template properties in a template, you can make use of `{{ .Segments.Segment }}`
|
||||
in your template where `.Segment` is the name of the segment you want to use with the first letter uppercased.
|
||||
|
||||
If you want to for example use the [git][git] segment's `.UpstreamGone` property in the [exit][exit] segment, you can
|
||||
If you want to for example use the [git][git] segment's `.UpstreamGone` property in the [status][status] segment, you can
|
||||
do so like this:
|
||||
|
||||
```json
|
||||
|
@ -255,7 +255,7 @@ This can be used in templates and icons/text inside your config.
|
|||
[sprig]: https://masterminds.github.io/sprig/
|
||||
[glob]: https://pkg.go.dev/path/filepath#Glob
|
||||
[git]: /docs/segments/git
|
||||
[exit]: /docs/segments/exit
|
||||
[status]: /docs/segments/status
|
||||
[templates]: /docs/configuration/segment#templates
|
||||
[regexpms]: https://pkg.go.dev/regexp#Regexp.MatchString
|
||||
[regexpra]: https://pkg.go.dev/regexp#Regexp.ReplaceAllString
|
||||
|
|
Loading…
Reference in a new issue