mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-01-14 12:48:04 -08:00
parent
ef050bf023
commit
6ca3d22b80
|
@ -408,8 +408,8 @@ func (g *Git) getUpstreamIcon() string {
|
|||
"github": {GithubIcon, "\uF408 "},
|
||||
"gitlab": {GitlabIcon, "\uF296 "},
|
||||
"bitbucket": {BitbucketIcon, "\uF171 "},
|
||||
"dev.azure.com": {AzureDevOpsIcon, "\uFD03 "},
|
||||
"visualstudio.com": {AzureDevOpsIcon, "\uFD03 "},
|
||||
"dev.azure.com": {AzureDevOpsIcon, "\uEBE8 "},
|
||||
"visualstudio.com": {AzureDevOpsIcon, "\uEBE8 "},
|
||||
}
|
||||
for key, value := range defaults {
|
||||
if strings.Contains(g.UpstreamURL, key) {
|
||||
|
|
|
@ -109,7 +109,7 @@ You can set the following properties to `true` to enable fetching additional inf
|
|||
| `github_icon` | `string` | icon/text to display when the upstream is Github - defaults to `\uF408 ` |
|
||||
| `gitlab_icon` | `string` | icon/text to display when the upstream is Gitlab - defaults to `\uF296 ` |
|
||||
| `bitbucket_icon` | `string` | icon/text to display when the upstream is Bitbucket - defaults to `\uF171 ` |
|
||||
| `azure_devops_icon` | `string` | icon/text to display when the upstream is Azure DevOps - defaults to `\uFD03 ` |
|
||||
| `azure_devops_icon` | `string` | icon/text to display when the upstream is Azure DevOps - defaults to `\uEBE8 ` |
|
||||
| `git_icon` | `string` | icon/text to display when the upstream is not known/mapped - defaults to `\uE5FB ` |
|
||||
| `upstream_icons` | `map[string]string` | a key, value map representing the remote URL (or a part of that URL) and icon to use in case the upstream URL contains the key. These get precedence over the standard icons |
|
||||
|
||||
|
|
Loading…
Reference in a new issue