mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-03-05 20:49:04 -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 }}`
|
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.
|
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:
|
do so like this:
|
||||||
|
|
||||||
```json
|
```json
|
||||||
|
@ -255,7 +255,7 @@ This can be used in templates and icons/text inside your config.
|
||||||
[sprig]: https://masterminds.github.io/sprig/
|
[sprig]: https://masterminds.github.io/sprig/
|
||||||
[glob]: https://pkg.go.dev/path/filepath#Glob
|
[glob]: https://pkg.go.dev/path/filepath#Glob
|
||||||
[git]: /docs/segments/git
|
[git]: /docs/segments/git
|
||||||
[exit]: /docs/segments/exit
|
[status]: /docs/segments/status
|
||||||
[templates]: /docs/configuration/segment#templates
|
[templates]: /docs/configuration/segment#templates
|
||||||
[regexpms]: https://pkg.go.dev/regexp#Regexp.MatchString
|
[regexpms]: https://pkg.go.dev/regexp#Regexp.MatchString
|
||||||
[regexpra]: https://pkg.go.dev/regexp#Regexp.ReplaceAllString
|
[regexpra]: https://pkg.go.dev/regexp#Regexp.ReplaceAllString
|
||||||
|
|
Loading…
Reference in a new issue