You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The GCP segment does not appear to load config from the correct location on windows - I don't know about other platforms.
oh-my-posh debug tells me that it searches for config in C:\Users\OsbornG\.config\gcloud\active_config but...
When I install the GCloud SDK with next next next defaults following the instructions on the website the command gcloud info reports the following config location:
Installation Properties: [C:\Users\OsbornG\AppData\Local\Google\Cloud SDK\google-cloud-sdk\properties]
User Config Directory: [C:\Users\OsbornG\AppData\Roaming\gcloud]
Active Configuration Name: [default]
Active Configuration Path: [C:\Users\OsbornG\AppData\Roaming\gcloud\configurations\config_default]
This is my first time installing the GCloud CLI on Windows so I'm unsure if this is a change in behavior.
This issue has been automatically locked since there has not been any recent activity (i.e. last half year) after it was closed. It helps our maintainers focus on the active issues.
If you have found a problem that seems similar, please open a discussion first, complete the body with all the details necessary to reproduce, and mention this issue as reference.
Code of Conduct
What happened?
The GCP segment does not appear to load config from the correct location on windows - I don't know about other platforms.
oh-my-posh debug
tells me that it searches for config inC:\Users\OsbornG\.config\gcloud\active_config
but...When I install the GCloud SDK with next next next defaults following the instructions on the website the command
gcloud info
reports the following config location:This is my first time installing the GCloud CLI on Windows so I'm unsure if this is a change in behavior.
Theme
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"newline": false,
"segments": [
{
"background": "blue",
"foreground": "yellow",
"type": "gcp",
"style": "powerline",
"powerline_symbol": "\ue0b4",
"template": "{{ if .Error }} {{ .Error }} {{ else }} {{ .Project }} {{ end }}"
}
],
"type": "prompt"
}
],
"version": 2
}
What OS are you seeing the problem on?
Windows
Which shell are you using?
bash, powershell
Log output
The text was updated successfully, but these errors were encountered: