From b87a7f7da22fb631143685095c09ed3d2dc57e00 Mon Sep 17 00:00:00 2001 From: Jan De Dobbeleer Date: Fri, 23 Sep 2022 08:05:06 +0200 Subject: [PATCH] fix(poshgit): remove all references --- src/engine/segment.go | 2 -- themes/lambdageneration.omp.json | 5 ++--- themes/schema.json | 1 - website/docs/segments/git.mdx | 2 +- 4 files changed, 3 insertions(+), 7 deletions(-) diff --git a/src/engine/segment.go b/src/engine/segment.go index d6e2adab..f3f846b0 100644 --- a/src/engine/segment.go +++ b/src/engine/segment.go @@ -156,8 +156,6 @@ const ( PHP SegmentType = "php" // PLASTIC represents the plastic scm status and information PLASTIC SegmentType = "plastic" - // POSHGIT writes the posh git prompt - POSHGIT SegmentType = "poshgit" // Project version PROJECT SegmentType = "project" // PYTHON writes the virtual env name diff --git a/themes/lambdageneration.omp.json b/themes/lambdageneration.omp.json index 9ce0715f..15b75aba 100644 --- a/themes/lambdageneration.omp.json +++ b/themes/lambdageneration.omp.json @@ -46,8 +46,7 @@ "background": "#292929", "foreground": "#D4E157", "style": "plain", - "template": "<#fb7e14>\ue0b1 {{ .Status }} ", - "type": "poshgit" + "type": "git" }, { "background": "#292929", @@ -132,4 +131,4 @@ ], "final_space": true, "version": 2 -} \ No newline at end of file +} diff --git a/themes/schema.json b/themes/schema.json index 8ad81410..aad434bd 100644 --- a/themes/schema.json +++ b/themes/schema.json @@ -255,7 +255,6 @@ "path", "perl", "python", - "poshgit", "php", "plastic", "project", diff --git a/website/docs/segments/git.mdx b/website/docs/segments/git.mdx index b156a81c..e1f47107 100644 --- a/website/docs/segments/git.mdx +++ b/website/docs/segments/git.mdx @@ -147,7 +147,7 @@ Local changes use the following syntax: | `-` | deleted | | `?` | untracked | -[poshgit]: /docs/segments/poshgit +[poshgit]: https://github.com/dahlbyk/posh-git [templates]: /docs/configuration/templates [hyperlinks]: /docs/configuration/templates#helper-functions [untracked]: https://git-scm.com/docs/git-status#Documentation/git-status.txt---untracked-filesltmodegt