JanDeDobbeleer / oh-my-posh

The most customisable and low-latency cross platform/shell prompt renderer
https://ohmyposh.dev
MIT License
17.38k stars 2.38k forks source link

Unexpected output of `path` segment #4569

Closed SvenAelterman closed 10 months ago

SvenAelterman commented 10 months ago

Code of Conduct

What happened?

Possibly related to my profile folder name having ( but no ), the output of {{ path .Path .Location }} is off when in my home folder or a subfolder thereof.

At first, I thought it was because of the ( in the folder name, but I created a test folder temp(1) and it behaved correctly. A test folder temp(1 has the same issue.

Theme

Custom

What OS are you seeing the problem on?

No response

Which shell are you using?

No response

Log output

Version: 19.3.0

Shell: pwsh (7.4.0)

Prompt:

 user(name    «»(file:C:\Users\user(name)   subscription       7                                                                                                       09:52:468

Segments:

ConsoleTitle(true)                        -   2 ms
Session(true)                             -   0 ms
Os(true)                                  -   0 ms
Path(true)                                -   2 ms
Git(false)                                -   4 ms
Node(false)                               -   0 ms
Go(false)                                 -   0 ms
Julia(false)                              -   0 ms
Python(false)                             -   0 ms
Ruby(false)                               -   0 ms
Azfunc(false)                             -   0 ms
azpwsh(true)                              -   1 ms
azcli(true)                               -   1 ms
Aws(false)                                -   0 ms
Root(false)                               -   0 ms
Status(true)                              -   1 ms
Time(true)                                -   0 ms

Run duration: 18.9514ms

Cache path: C:\Users\user(name\AppData\Local\oh-my-posh

Config path: C:\Users\user(name\OneDrive - company!,name\name.omp.json

Logs:

[DEBUG] 09:52:46.629 shell.go:Getenv:399 → NO DATA
[TRACE] 09:52:46.629 shell.go:Getenv(TERM_PROGRAM) - 0s
[DEBUG] 09:52:46.629 shell.go:Getenv:399 → C:\Users\user(name\AppData\Local
[TRACE] 09:52:46.629 shell.go:Getenv(LOCALAPPDATA) - 0s
[TRACE] 09:52:46.629 shell_windows.go:CachePath() - 0s
[DEBUG] 09:52:46.630 shell.go:Getenv:399 → C:\Users\user(name\OneDrive - company!,name\name.omp.json
[TRACE] 09:52:46.630 shell.go:Getenv(POSH_THEME) - 0s
[DEBUG] 09:52:46.630 shell.go:Shell:662 → no shell name provided in flags, trying to detect it
[DEBUG] 09:52:46.637 shell.go:Shell:670 → process name: pwsh.exe
[TRACE] 09:52:46.637 shell.go:Shell() - 7.2247ms
[TRACE] 09:52:46.637 shell.go:resolveConfigPath() - 7.2247ms
[TRACE] 09:52:46.637 shell.go:Init() - 7.7721ms
[TRACE] 09:52:46.637 shell.go:Flags() - 0s
[TRACE] 09:52:46.638 config.go:loadConfig() - 1.1418ms
[TRACE] 09:52:46.638 shell.go:Flags() - 0s
[DEBUG] 09:52:46.638 shell.go:Getenv:399 → NO DATA
[TRACE] 09:52:46.638 shell.go:Getenv(OMP_CACHE_DISABLED) - 0s
[TRACE] 09:52:46.638 shell_windows.go:WindowsRegistryKeyValue(HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM\ColorizationColor) - 0s
[TRACE] 09:52:46.638 shell.go:GOOS() - 0s
[TRACE] 09:52:46.638 shell.go:GOOS() - 0s
[TRACE] 09:52:46.638 shell.go:GOOS() - 0s
[TRACE] 09:52:46.638 shell.go:GOOS() - 0s
[TRACE] 09:52:46.638 shell.go:GOOS() - 0s
[TRACE] 09:52:46.638 shell.go:GOOS() - 0s
[TRACE] 09:52:46.638 shell.go:GOOS() - 0s
[TRACE] 09:52:46.638 shell.go:GOOS() - 0s
[TRACE] 09:52:46.638 shell.go:GOOS() - 0s
[TRACE] 09:52:46.638 shell.go:GOOS() - 0s
[TRACE] 09:52:46.638 shell.go:GOOS() - 0s
[TRACE] 09:52:46.638 shell.go:GOOS() - 0s
[TRACE] 09:52:46.638 shell.go:GOOS() - 0s
[TRACE] 09:52:46.638 shell.go:GOOS() - 0s
[TRACE] 09:52:46.638 shell.go:GOOS() - 0s
[TRACE] 09:52:46.638 shell.go:GOOS() - 0s
[TRACE] 09:52:46.638 shell.go:GOOS() - 0s
[TRACE] 09:52:46.638 shell.go:GOOS() - 0s
[TRACE] 09:52:46.638 shell.go:GOOS() - 0s
[DEBUG] 09:52:46.638 shell_windows.go:WindowsRegistryKeyValue:215 → ColorizationColor(DWORD): 0xC40078D4
[TRACE] 09:52:46.638 shell.go:Shell() - 0s
[DEBUG] 09:52:46.638 shell.go:Getenv:399 → 7.4.0
[TRACE] 09:52:46.638 shell.go:Getenv(POSH_SHELL_VERSION) - 0s
[DEBUG] 09:52:46.638 debug.go:PrintDebug:22 → Segment: Title
[DEBUG] 09:52:46.638 text.go:Render:70 → Rendering template: {{ .Shell }} in {{ .Folder }}
[TRACE] 09:52:46.640 shell_windows.go:Root() - 0s
[TRACE] 09:52:46.640 shell.go:Shell() - 0s
[TRACE] 09:52:46.640 shell.go:StatusCodes() - 0s
[TRACE] 09:52:46.640 shell_windows.go:IsWsl() - 0s
[DEBUG] 09:52:46.640 shell.go:TemplateCache:843 ↓
    environment: [ALLUSERSPROFILE=C:\ProgramData APPDATA=C:\Users\user(name\AppData\Roaming AZCOPY_AUTO_LOGIN_TYPE=AzCLI CLIENTNAME=SVAELTER-SB3-2 CommonProgramFiles=C:\Program Files\Common Files CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files CommonProgramW6432=C:\Program Files\Common Files COMPUTERNAME=CPC-name-00CUIJ ComSpec=C:\Windows\system32\cmd.exe CONDA_PROMPT_MODIFIER=False DriverData=C:\Windows\System32\Drivers\DriverData HOMEDRIVE=C: HOMEPATH=\Users\user(name LOCALAPPDATA=C:\Users\user(name\AppData\Local LOGONSERVER=\\CPC-name-00CUIJ NUMBER_OF_PROCESSORS=8 OneDrive=C:\Users\user(name\OneDrive - company!,name OneDriveCommercial=C:\Users\user(name\OneDrive - company!,name OS=Windows_NT Path=C:\Program Files\PowerShell\7;C:\Program Files\Microsoft SDKs\Azure\CLI2\wbin;C:\Program Files\Microsoft\jdk-11.0.16.101-hotspot\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\Azure Dev CLI;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Program Files\Microsoft SQL Server\150\Tools\Binn\;C:\Program Files\Microsoft VS Code\bin;C:\Program Files (x86)\Microsoft SQL Server\160\DTS\Binn\;C:\Program Files\Azure Data Studio\bin;C:\Program Files (x86)\Gpg4win\..\GnuPG\bin;C:\Program Files\Git\cmd;C:\Program Files\GitHub CLI\;C:\Program Files\PowerShell\7\;C:\Program Files\dotnet\;C:\Program Files\Microsoft\Azure Functions Core Tools\;C:\Program Files\Microsoft Dev Box Agent\1.0.02528.1727\52f2c7c2-9b99-4f9d-a178-198aab771bb3\Scripts;C:\Users\user(name\AppData\Local\Microsoft\WindowsApps;C:\Users\user(name\AppData\Local\Programs\oh-my-posh\bin;C:\Users\user(name\AppData\Local\Programs\Bicep CLI;C:\Program Files\Azure Data Studio\bin;C:\Users\user(name\.dotnet\tools;C:\Tools\azcopy; PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.CPL POSH_AZURE_ENABLED=True POSH_AZURE_SUBSCRIPTION={
      "Name": "subscription (98bbc518-e00c-4b63-8d48-402afbcd8ba2) - 9a450067-f983-4b09-a06b-2a5a247eb9b1 - user@upn",
      "Account": {
        "Id": "user@upn",
        "Type": "User",
        "Tenants": [
          "9a450067-f983-4b09-a06b-2a5a247eb9b1"
        ],
        "AccessToken": null,
        "Credential": null,
        "TenantMap": {},
        "CertificateThumbprint": null,
        "ExtendedProperties": {
          "Tenants": "9a450067-f983-4b09-a06b-2a5a247eb9b1",
          "HomeAccountId": "39a1c01d-4acc-493f-a4e9-86cf7d9c6232.9a450067-f983-4b09-a06b-2a5a247eb9b1",
          "Subscriptions": "79ce05f7-5853-4de1-830f-8d97fdb90f33,6cff2e8e-c15f-40f1-b709-3c1c56c24d04,98bbc518-e00c-4b63-8d48-402afbcd8ba2"
        }
      },
      "Environment": {
        "Name": "AzureCloud",
        "Type": "User-defined",
        "EnableAdfsAuthentication": false,
        "OnPremise": false,
        "ActiveDirectoryServiceEndpointResourceId": "https://management.core.windows.net/",
        "AdTenant": "common",
        "GalleryUrl": null,
        "ManagementPortalUrl": "https://portal.azure.com",
        "ServiceManagementUrl": "https://management.core.windows.net/",
        "PublishSettingsFileUrl": "https://go.microsoft.com/fwlink/?LinkID=301775",
        "ResourceManagerUrl": "https://management.azure.com/",
        "SqlDatabaseDnsSuffix": ".database.windows.net",
        "StorageEndpointSuffix": "core.windows.net",
        "ActiveDirectoryAuthority": "https://login.microsoftonline.com",
        "GraphUrl": "https://graph.windows.net/",
        "GraphEndpointResourceId": "https://graph.windows.net/",
        "TrafficManagerDnsSuffix": "trafficmanager.net",
        "AzureKeyVaultDnsSuffix": "vault.azure.net",
        "DataLakeEndpointResourceId": "https://datalake.azure.net/",
        "AzureDataLakeStoreFileSystemEndpointSuffix": "azuredatalakestore.net",
        "AzureDataLakeAnalyticsCatalogAndJobEndpointSuffix": "azuredatalakeanalytics.net",
        "AzureKeyVaultServiceEndpointResourceId": "https://vault.azure.net",
        "ContainerRegistryEndpointSuffix": "azurecr.io",
        "AzureOperationalInsightsEndpointResourceId": "https://api.loganalytics.io",
        "AzureOperationalInsightsEndpoint": "https://api.loganalytics.io/v1",
        "AzureAnalysisServicesEndpointSuffix": "asazure.windows.net",
        "AnalysisServicesEndpointResourceId": "https://region.asazure.windows.net",
        "AzureAttestationServiceEndpointSuffix": "attest.azure.net",
        "AzureAttestationServiceEndpointResourceId": "https://attest.azure.net",
        "AzureSynapseAnalyticsEndpointSuffix": "dev.azuresynapse.net",
        "AzureSynapseAnalyticsEndpointResourceId": "https://dev.azuresynapse.net",
        "VersionProfiles": [],
        "ExtendedProperties": {
          "MicrosoftGraphEndpointResourceId": "https://graph.microsoft.com/",
          "MicrosoftGraphUrl": "https://graph.microsoft.com",
          "AzureAttestationServiceEndpointResourceId": "https://attest.azure.net",
          "AzureAttestationServiceEndpointSuffix": "attest.azure.net",
          "AzureSynapseAnalyticsEndpointResourceId": "https://dev.azuresynapse.net",
          "AzureSynapseAnalyticsEndpointSuffix": "dev.azuresynapse.net",
          "OperationalInsightsEndpoint": "https://api.loganalytics.io/v1",
          "OperationalInsightsEndpointResourceId": "https://api.loganalytics.io",
          "AzureAnalysisServicesEndpointSuffix": "asazure.windows.net",
          "AnalysisServicesEndpointResourceId": "https://region.asazure.windows.net",
          "ManagedHsmServiceEndpointResourceId": "https://managedhsm.azure.net",
          "ManagedHsmServiceEndpointSuffix": "managedhsm.azure.net",
          "AzurePurviewEndpointSuffix": "purview.azure.net",
          "AzurePurviewEndpointResourceId": "https://purview.azure.net",
          "AzureAppConfigurationEndpointSuffix": "azconfig.io",
          "AzureAppConfigurationEndpointResourceId": "https://azconfig.io",
          "ContainerRegistryEndpointResourceId": "https://management.azure.com"
        },
        "BatchEndpointResourceId": "https://batch.core.windows.net/"
      },
      "Subscription": {
        "Id": "98bbc518-e00c-4b63-8d48-402afbcd8ba2",
        "Name": "subscription",
        "State": "Enabled",
        "SubscriptionId": "98bbc518-e00c-4b63-8d48-402afbcd8ba2",
        "TenantId": "9a450067-f983-4b09-a06b-2a5a247eb9b1",
        "HomeTenantId": "9a450067-f983-4b09-a06b-2a5a247eb9b1",
        "ManagedByTenantIds": [],
        "CurrentStorageAccountName": null,
        "SubscriptionPolicies": {
          "LocationPlacementId": "Public_2014-09-01",
          "QuotaId": "PayAsYouGo_2014-09-01",
          "SpendingLimit": "Off"
        },
        "ExtendedProperties": {
          "SubscriptionPolices": "{\"locationPlacementId\":\"Public_2014-09-01\",\"quotaId\":\"PayAsYouGo_2014-09-01\",\"spendingLimit\":\"Off\"}",
          "AuthorizationSource": "RoleBased",
          "HomeTenant": "9a450067-f983-4b09-a06b-2a5a247eb9b1",
          "Tags": "{\"date-created\":\"2023-12-26\",\"environment\":\"production\",\"purpose\":\"Production data\"}",
          "Environment": "AzureCloud",
          "Tenants": "9a450067-f983-4b09-a06b-2a5a247eb9b1",
          "Account": "user@upn"
        },
        "CurrentStorageAccount": null,
        "AuthorizationSource": "RoleBased",
        "Tags": {
          "date-created": "2023-12-26",
          "environment": "production",
          "purpose": "Production data"
        }
      },
      "Tenant": {
        "Id": "9a450067-f983-4b09-a06b-2a5a247eb9b1",
        "TenantId": "9a450067-f983-4b09-a06b-2a5a247eb9b1",
        "ExtendedProperties": {},
        "TenantCategory": null,
        "Country": null,
        "CountryCode": null,
        "Name": null,
        "Domains": [],
        "DefaultDomain": null,
        "TenantType": null,
        "TenantBrandingLogoUrl": null
      },
      "TokenCache": null,
      "VersionProfile": null,
      "ExtendedProperties": {}
    } POSH_CURSOR_COLUMN=1 POSH_CURSOR_LINE=4 POSH_GIT_ENABLED=False POSH_INSTALLER=winget POSH_PID=11360 POSH_SHELL_VERSION=7.4.0 POSH_THEME=C:\Users\user(name\OneDrive - company!,name\name.omp.json POSH_THEMES_PATH=C:\Users\user(name\AppData\Local\Programs\oh-my-posh\themes POWERLINE_COMMAND=oh-my-posh POWERSHELL_DISTRIBUTION_CHANNEL=MSI:Windows 10 Enterprise PROCESSOR_ARCHITECTURE=AMD64 PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 106 Stepping 6, GenuineIntel PROCESSOR_LEVEL=6 PROCESSOR_REVISION=6a06 ProgramData=C:\ProgramData ProgramFiles=C:\Program Files ProgramFiles(x86)=C:\Program Files (x86) ProgramW6432=C:\Program Files PSModulePath=C:\Users\user(name\OneDrive - company!,name\Documents\PowerShell\Modules;C:\Program Files\PowerShell\Modules;c:\program files\powershell\7\Modules;C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules PUBLIC=C:\Users\Public SESSIONNAME=rdp-sxs231023300#0 SystemDrive=C: SystemRoot=C:\Windows TEMP=C:\Users\UNAME\AppData\Local\Temp TMP=C:\Users\UNAME\AppData\Local\Temp USERDOMAIN=AzureAD USERDOMAIN_ROAMINGPROFILE=AzureAD USERNAME=user(name USERPROFILE=C:\Users\user(name windir=C:\Windows WSLENV=WT_SESSION:WT_PROFILE_ID: WT_PROFILE_ID={574e775e-4f2a-5b96-ac1e-a2962a402336} WT_SESSION=a3ec4705-322f-4e96-8c8e-ba972a33d7d7 WVD_AGENT_CLUSTER=EUS2R1C103 WVD_AGENT_RING=R1 WVD_MONITORING_CONFIG_VERSION=1.41 WVD_MONITORING_DATA_DIRECTORY=C:\Windows\system32\config\systemprofile\AppData\Roaming\Microsoft\Monitoring WVD_MONITORING_ENV=PROD WVD_MONITORING_GCS_ACCOUNT=RDSAgentProd WVD_MONITORING_GCS_AUTH_ID=RDSAgentPROD.geneva.keyvault.RDSAGENT.WVD WVD_MONITORING_GCS_AUTH_ID_TYPE=AuthKeyVault WVD_MONITORING_GCS_CERTSTORE=LOCAL_MACHINE\MY WVD_MONITORING_GCS_ENVIRONMENT=Diagnostics Prod WVD_MONITORING_GCS_NAMESPACE=RDSAgentProd WVD_MONITORING_GCS_REGION=eastus2 WVD_MONITORING_MDM_ACCOUNT=RDSAgentProd WVD_MONITORING_RESOURCE=bffa1e30-fc39-41bf-abc7-c237b15f7d51 WVD_MONITORING_ROLE=40d6a52f35884b9ca1aa6c373e634f8e WVD_MONITORING_ROLE_INSTANCE=CPC-name-00CUIJ WVD_MONITORING_TENANT=PROD]
[TRACE] 09:52:46.641 shell.go:GOOS() - 0s
[DEBUG] 09:52:46.641 shell.go:Pwd:429 → C:\Users\user(name
[TRACE] 09:52:46.641 shell.go:Pwd() - 0s
[DEBUG] 09:52:46.641 shell_windows.go:56 → C:\Users\user(name
[TRACE] 09:52:46.641 shell.go:GOOS() - 0s
[TRACE] 09:52:46.641 shell.go:GOOS() - 0s
[TRACE] 09:52:46.641 shell.go:GOOS() - 0s
[TRACE] 09:52:46.641 shell.go:GOOS() - 0s
[TRACE] 09:52:46.641 shell.go:GOOS() - 0s
[TRACE] 09:52:46.641 shell.go:GOOS() - 0s
[TRACE] 09:52:46.641 shell.go:GOOS() - 0s
[TRACE] 09:52:46.641 shell.go:GOOS() - 0s
[TRACE] 09:52:46.641 shell.go:GOOS() - 0s
[TRACE] 09:52:46.641 shell.go:GOOS() - 0s
[TRACE] 09:52:46.641 shell.go:GOOS() - 0s
[TRACE] 09:52:46.641 shell.go:GOOS() - 0s
[TRACE] 09:52:46.641 shell.go:GOOS() - 0s
[TRACE] 09:52:46.641 shell.go:GOOS() - 0s
[TRACE] 09:52:46.641 shell.go:GOOS() - 0s
[TRACE] 09:52:46.641 shell.go:GOOS() - 0s
[TRACE] 09:52:46.641 shell.go:GOOS() - 0s
[TRACE] 09:52:46.641 shell.go:GOOS() - 0s
[TRACE] 09:52:46.641 shell.go:GOOS() - 0s
[TRACE] 09:52:46.641 shell.go:GOOS() - 0s
[TRACE] 09:52:46.641 shell.go:GOOS() - 0s
[TRACE] 09:52:46.641 shell.go:GOOS() - 0s
[TRACE] 09:52:46.641 shell.go:GOOS() - 0s
[DEBUG] 09:52:46.641 shell.go:User:564 → user(name
[TRACE] 09:52:46.641 shell.go:User() - 0s
[DEBUG] 09:52:46.641 shell.go:Host:576 → CPC-name-00CUIJ
[TRACE] 09:52:46.641 shell.go:Host() - 0s
[TRACE] 09:52:46.641 shell.go:GOOS() - 0s
[DEBUG] 09:52:46.641 shell.go:Getenv:399 → NO DATA
[TRACE] 09:52:46.641 shell.go:Getenv(SHLVL) - 0s
[TRACE] 09:52:46.641 shell.go:TemplateCache() - 1.2183ms
[DEBUG] 09:52:46.641 shell.go:Getenv:399 → 4
[TRACE] 09:52:46.641 shell.go:Getenv(POSH_CURSOR_LINE) - 0s
[DEBUG] 09:52:46.641 shell.go:Getenv:399 → 1
[TRACE] 09:52:46.641 shell.go:Getenv(POSH_CURSOR_COLUMN) - 0s
[TRACE] 09:52:46.641 shell.go:Flags() - 0s
[TRACE] 09:52:46.641 shell.go:Flags() - 0s
[TRACE] 09:52:46.641 shell.go:Shell() - 0s
[TRACE] 09:52:46.641 shell.go:Shell() - 0s
[TRACE] 09:52:46.641 shell.go:Flags() - 0s
[TRACE] 09:52:46.641 shell.go:Flags() - 0s
[TRACE] 09:52:46.641 shell.go:Flags() - 0s
[TRACE] 09:52:46.641 shell.go:Flags() - 0s
[TRACE] 09:52:46.641 shell.go:Pwd() - 0s
[TRACE] 09:52:46.641 shell.go:Pwd() - 0s
[TRACE] 09:52:46.641 shell.go:Pwd() - 0s
[DEBUG] 09:52:46.641 shell_windows.go:56 → C:\Users\user(name
[DEBUG] 09:52:46.641 properties.go:GetString:28 → {{ .Code }}
[TRACE] 09:52:46.641 shell.go:GOOS() - 0s
[TRACE] 09:52:46.641 shell.go:GOOS() - 0s
[DEBUG] 09:52:46.641 shell_windows.go:56 → C:\Users\user(name
[TRACE] 09:52:46.641 shell.go:Pwd() - 0s
[TRACE] 09:52:46.641 shell.go:GOOS() - 0s
[DEBUG] 09:52:46.641 segment.go:SetEnabled:512 → Segment: Go
[DEBUG] 09:52:46.641 segment.go:SetEnabled:512 → Segment: Os
[DEBUG] 09:52:46.641 segment.go:SetEnabled:512 → Segment: Git
[DEBUG] 09:52:46.641 shell_windows.go:56 → C:\Users\user(name
[TRACE] 09:52:46.641 shell.go:GOOS() - 0s
[DEBUG] 09:52:46.641 segment.go:SetEnabled:512 → Segment: Status
[TRACE] 09:52:46.641 shell.go:GOOS() - 0s
[TRACE] 09:52:46.641 shell.go:GOOS() - 0s
[TRACE] 09:52:46.641 shell.go:Flags() - 0s
[TRACE] 09:52:46.641 shell.go:StatusCodes() - 0s
[DEBUG] 09:52:46.641 properties.go:GetStringArray:52 → extensions: [*.go go.mod]
[TRACE] 09:52:46.641 shell.go:TemplateCache() - 0s
[DEBUG] 09:52:46.641 text.go:Render:70 → Rendering template: {{ .Code }}
[DEBUG] 09:52:46.641 properties.go:GetStringArray:52 → folders: []
[DEBUG] 09:52:46.641 properties.go:GetBool:22 → home_enabled: false
[TRACE] 09:52:46.641 shell.go:Pwd() - 0s
[TRACE] 09:52:46.641 shell.go:Flags() - 0s
[DEBUG] 09:52:46.641 shell_windows.go:56 → C:\Users\user(name
[TRACE] 09:52:46.641 shell.go:Flags() - 0s
[TRACE] 09:52:46.641 shell.go:Pwd() - 0s
[TRACE] 09:52:46.641 shell.go:Pwd() - 0s
[DEBUG] 09:52:46.641 shell_windows.go:56 → C:\Users\user(name
[TRACE] 09:52:46.641 shell.go:GOOS() - 0s
[TRACE] 09:52:46.641 shell.go:Pwd() - 0s
[DEBUG] 09:52:46.641 segment.go:SetEnabled:512 → Segment: Azfunc
[DEBUG] 09:52:46.641 properties.go:GetStringArray:52 → extensions: [host.json local.settings.json function.json]
[DEBUG] 09:52:46.641 shell_windows.go:56 → C:\Users\user(name
[TRACE] 09:52:46.641 shell.go:GOOS() - 0s
[DEBUG] 09:52:46.641 properties.go:GetStringArray:52 → folders: []
[DEBUG] 09:52:46.641 shell_windows.go:56 → C:\Users\user(name
[DEBUG] 09:52:46.641 segment.go:SetEnabled:512 → Segment: Node
[TRACE] 09:52:46.641 shell.go:GOOS() - 0s
[DEBUG] 09:52:46.641 properties.go:GetBool:22 → home_enabled: false
[DEBUG] 09:52:46.641 segment.go:SetEnabled:512 → Segment: Path
[TRACE] 09:52:46.641 shell.go:Pwd() - 0s
[DEBUG] 09:52:46.641 shell_windows.go:56 → C:\Users\user(name
[TRACE] 09:52:46.641 shell.go:Pwd() - 0s
[TRACE] 09:52:46.641 shell.go:Flags() - 0s
[DEBUG] 09:52:46.641 properties.go:GetStringArray:52 → extensions: [*.js *.ts package.json .nvmrc pnpm-workspace.yaml .pnpmfile.cjs .npmrc .vue]
[TRACE] 09:52:46.641 shell.go:Shell() - 0s
[TRACE] 09:52:46.641 shell.go:Flags() - 0s
[DEBUG] 09:52:46.641 properties.go:GetStringArray:52 → folders: []
[TRACE] 09:52:46.641 shell.go:Pwd() - 0s
[DEBUG] 09:52:46.641 properties.go:GetBool:22 → home_enabled: false
[DEBUG] 09:52:46.641 shell_windows.go:56 → C:\Users\user(name
[TRACE] 09:52:46.641 shell.go:Pwd() - 0s
[DEBUG] 09:52:46.641 properties.go:GetStringArray:52 → extensions: [*.jl]
[DEBUG] 09:52:46.641 shell_windows.go:56 → C:\Users\user(name
[DEBUG] 09:52:46.641 properties.go:GetStringArray:52 → folders: []
[DEBUG] 09:52:46.641 properties.go:GetBool:22 → home_enabled: false
[TRACE] 09:52:46.641 shell.go:Pwd() - 0s
[TRACE] 09:52:46.641 shell.go:Flags() - 0s
[DEBUG] 09:52:46.641 shell_windows.go:56 → C:\Users\user(name
[TRACE] 09:52:46.641 shell.go:Flags() - 0s
[TRACE] 09:52:46.641 shell.go:Pwd() - 0s
[TRACE] 09:52:46.641 shell.go:Pwd() - 0s
[DEBUG] 09:52:46.641 properties.go:GetString:28 → files
[DEBUG] 09:52:46.641 shell_windows.go:56 → C:\Users\user(name
[TRACE] 09:52:46.641 shell.go:GOOS() - 0s
[DEBUG] 09:52:46.642 shell_windows.go:56 → C:\Users\user(name
[TRACE] 09:52:46.642 shell.go:GOOS() - 0s
[TRACE] 09:52:46.642 shell.go:Pwd() - 0s
[TRACE] 09:52:46.642 shell.go:Flags() - 0s
[DEBUG] 09:52:46.642 segment.go:SetEnabled:512 → Segment: azcli
[DEBUG] 09:52:46.642 shell_windows.go:56 → C:\Users\user(name
[TRACE] 09:52:46.642 shell.go:GOOS() - 0s
[TRACE] 09:52:46.642 shell.go:Pwd() - 0s
[DEBUG] 09:52:46.642 properties.go:GetString:28 → cli
[DEBUG] 09:52:46.642 shell_windows.go:56 → C:\Users\user(name
[DEBUG] 09:52:46.642 segment.go:SetEnabled:512 → Segment: Python
[DEBUG] 09:52:46.642 shell.go:Getenv:399 → NO DATA
[TRACE] 09:52:46.642 shell.go:GOOS() - 0s
[TRACE] 09:52:46.642 shell.go:Getenv(AZURE_CONFIG_DIR) - 0s
[DEBUG] 09:52:46.642 segment.go:SetEnabled:512 → Segment: Aws
[DEBUG] 09:52:46.642 shell_windows.go:56 → C:\Users\user(name
[DEBUG] 09:52:46.642 shell_windows.go:56 → C:\Users\user(name
[DEBUG] 09:52:46.642 properties.go:GetBool:22 → display_default: false
[DEBUG] 09:52:46.642 properties.go:GetStringArray:52 → extensions: [*.py *.ipynb pyproject.toml venv.bak]
[DEBUG] 09:52:46.642 shell.go:Getenv:399 → NO DATA
[DEBUG] 09:52:46.642 properties.go:GetStringArray:52 → folders: [.venv venv virtualenv venv-win pyenv-win]
[TRACE] 09:52:46.642 shell.go:Getenv(AWS_VAULT) - 0s
[DEBUG] 09:52:46.642 shell.go:Getenv:399 → NO DATA
[TRACE] 09:52:46.642 shell.go:Getenv(AWS_DEFAULT_PROFILE) - 0s
[DEBUG] 09:52:46.642 properties.go:GetBool:22 → home_enabled: false
[DEBUG] 09:52:46.642 shell.go:Getenv:399 → NO DATA
[TRACE] 09:52:46.642 shell.go:Pwd() - 0s
[TRACE] 09:52:46.642 shell.go:Getenv(AWS_PROFILE) - 0s
[DEBUG] 09:52:46.642 shell_windows.go:56 → C:\Users\user(name
[DEBUG] 09:52:46.641 properties.go:GetBool:22 → mapped_locations_enabled: true
[DEBUG] 09:52:46.642 shell.go:Getenv:399 → NO DATA
[TRACE] 09:52:46.642 shell.go:Getenv(AWS_REGION) - 0s
[DEBUG] 09:52:46.642 shell.go:Getenv:399 → NO DATA
[TRACE] 09:52:46.642 shell.go:Getenv(AWS_DEFAULT_REGION) - 0s
[DEBUG] 09:52:46.642 shell.go:Getenv:399 → NO DATA
[DEBUG] 09:52:46.642 properties.go:GetString:28 → 
[TRACE] 09:52:46.642 shell.go:Getenv(AWS_CONFIG_FILE) - 0s
[DEBUG] 09:52:46.642 properties.go:GetString:28 → 
[DEBUG] 09:52:46.642 shell_windows.go:56 → C:\Users\user(name
[DEBUG] 09:52:46.642 shell_windows.go:56 → C:\Users\user(name
[TRACE] 09:52:46.642 shell.go:Flags() - 0s
[TRACE] 09:52:46.642 shell.go:GOOS() - 0s
[TRACE] 09:52:46.642 shell.go:GOOS() - 0s
[DEBUG] 09:52:46.642 properties.go:GetString:28 → 
[DEBUG] 09:52:46.642 shell.go:HasFilesInDir:479 → true
[TRACE] 09:52:46.642 shell.go:HasFilesInDir(azureProfile.json) - 0s
[TRACE] 09:52:46.642 shell.go:Pwd() - 0s
[DEBUG] 09:52:46.642 properties.go:GetKeyValueMap:46 → mapped_locations: map[C:/Users/user(name/source:   C:/Users/user(name/source/repos:    ]
[DEBUG] 09:52:46.642 text.go:Render:70 → Rendering template: C:/Users/user(name/source/repos
[TRACE] 09:52:46.642 shell.go:GOOS() - 0s
[DEBUG] 09:52:46.642 shell_windows.go:56 → C:\Users\user(name
[TRACE] 09:52:46.642 shell.go:GOOS() - 0s
[TRACE] 09:52:46.642 shell.go:GOOS() - 0s
[DEBUG] 09:52:46.642 text.go:Render:70 → Rendering template: C:/Users/user(name/source
[TRACE] 09:52:46.642 shell.go:GOOS() - 0s
[DEBUG] 09:52:46.642 segment.go:SetEnabled:512 → Segment: Ruby
[TRACE] 09:52:46.642 shell.go:GOOS() - 0s
[TRACE] 09:52:46.642 shell.go:PathSeparator() - 0s
[DEBUG] 09:52:46.642 properties.go:GetStringArray:52 → extensions: [*.rb Rakefile Gemfile]
[TRACE] 09:52:46.642 shell.go:GOOS() - 0s
[TRACE] 09:52:46.642 shell.go:GOOS() - 0s
[DEBUG] 09:52:46.642 properties.go:GetStringArray:52 → folders: []
[DEBUG] 09:52:46.642 properties.go:GetBool:22 → home_enabled: false
[TRACE] 09:52:46.642 shell.go:Pwd() - 0s
[DEBUG] 09:52:46.642 shell_windows.go:56 → C:\Users\user(name
[TRACE] 09:52:46.642 shell.go:Flags() - 0s
[TRACE] 09:52:46.642 shell.go:Pwd() - 0s
[DEBUG] 09:52:46.642 shell_windows.go:56 → C:\Users\user(name
[DEBUG] 09:52:46.642 segment.go:SetEnabled:512 → Segment: Session
[TRACE] 09:52:46.642 shell.go:GOOS() - 0s
[DEBUG] 09:52:46.642 shell.go:FileContent:538 → {"installationId": "80fb3833-0c33-4b2f-a994-df6896e64265", "subscriptions": [{"id": "79ce05f7-5853-4de1-830f-8d97fdb90f33", "name": "company!,name. Core Subscription", "state": "Enabled", "user": {"name": "user@upn", "type": "user"}, "isDefault": false, "tenantId": "9a450067-f983-4b09-a06b-2a5a247eb9b1", "environmentName": "AzureCloud", "homeTenantId": "9a450067-f983-4b09-a06b-2a5a247eb9b1", "managedByTenants": []}, {"id": "6cff2e8e-c15f-40f1-b709-3c1c56c24d04", "name": "subscriptionDev", "state": "Enabled", "user": {"name": "user@upn", "type": "user"}, "isDefault": false, "tenantId": "9a450067-f983-4b09-a06b-2a5a247eb9b1", "environmentName": "AzureCloud", "homeTenantId": "9a450067-f983-4b09-a06b-2a5a247eb9b1", "managedByTenants": []}, {"id": "fbd07f9e-d525-419b-9bf7-369daa20cf26", "name": "subscriptionTest", "state": "Enabled", "user": {"name": "user@upn", "type": "user"}, "isDefault": false, "tenantId": "9a450067-f983-4b09-a06b-2a5a247eb9b1", "environmentName": "AzureCloud", "homeTenantId": "9a450067-f983-4b09-a06b-2a5a247eb9b1", "managedByTenants": []}, {"id": "98bbc518-e00c-4b63-8d48-402afbcd8ba2", "name": "subscription", "state": "Enabled", "user": {"name": "user@upn", "type": "user"}, "isDefault": true, "tenantId": "9a450067-f983-4b09-a06b-2a5a247eb9b1", "environmentName": "AzureCloud", "homeTenantId": "9a450067-f983-4b09-a06b-2a5a247eb9b1", "managedByTenants": []}]}
[TRACE] 09:52:46.642 shell.go:FileContent(C:\Users\user(name\.azure\azureProfile.json) - 0s
[TRACE] 09:52:46.642 shell.go:Pwd() - 0s
[ERROR] 09:52:46.642 shell.go:FileContent:534 → open C:\Users\user(name/.aws/config: The system cannot find the path specified.
[TRACE] 09:52:46.642 shell.go:FileContent(C:\Users\user(name/.aws/config) - 0s
[DEBUG] 09:52:46.642 segment.go:SetEnabled:512 → Segment: azpwsh
[DEBUG] 09:52:46.642 shell.go:Getenv:399 → NO DATA
[DEBUG] 09:52:46.642 shell_windows.go:56 → C:\Users\user(name
[TRACE] 09:52:46.642 shell.go:GOOS() - 0s
[TRACE] 09:52:46.642 shell.go:Getenv(SSH_CONNECTION) - 0s
[DEBUG] 09:52:46.642 shell.go:Getenv:399 → NO DATA
[DEBUG] 09:52:46.642 segment.go:SetEnabled:512 → Segment: Root
[TRACE] 09:52:46.642 shell.go:Getenv(SSH_CLIENT) - 0s
[TRACE] 09:52:46.642 shell.go:GOOS() - 0s
[TRACE] 09:52:46.642 shell.go:TemplateCache() - 0s
[TRACE] 09:52:46.642 shell.go:GOOS() - 0s
[TRACE] 09:52:46.642 shell.go:GOOS() - 0s
[TRACE] 09:52:46.642 shell.go:GOOS() - 0s
[TRACE] 09:52:46.642 shell.go:GOOS() - 0s
[TRACE] 09:52:46.642 shell_windows.go:Root() - 0s
[TRACE] 09:52:46.642 shell.go:PathSeparator() - 0s
[DEBUG] 09:52:46.642 properties.go:GetString:28 → pwsh
[TRACE] 09:52:46.642 shell.go:PathSeparator() - 0s
[TRACE] 09:52:46.642 shell.go:GOOS() - 0s
[TRACE] 09:52:46.642 shell.go:GOOS() - 0s
[TRACE] 09:52:46.642 shell.go:GOOS() - 0s
[TRACE] 09:52:46.642 shell.go:PathSeparator() - 0s
[TRACE] 09:52:46.642 shell.go:GOOS() - 0s
[TRACE] 09:52:46.642 shell.go:GOOS() - 0s
[TRACE] 09:52:46.642 shell.go:GOOS() - 0s
[TRACE] 09:52:46.642 shell.go:TemplateCache() - 0s
[TRACE] 09:52:46.642 shell.go:PathSeparator() - 0s
[TRACE] 09:52:46.642 shell.go:GOOS() - 0s
[TRACE] 09:52:46.642 shell.go:GOOS() - 0s
[TRACE] 09:52:46.642 shell.go:GOOS() - 0s
[DEBUG] 09:52:46.642 properties.go:GetBool:22 → always_enabled: true
[TRACE] 09:52:46.642 shell.go:PathSeparator() - 0s
[TRACE] 09:52:46.642 shell.go:TemplateCache() - 0s
[TRACE] 09:52:46.642 shell.go:GOOS() - 0s
[TRACE] 09:52:46.642 shell.go:GOOS() - 0s
[TRACE] 09:52:46.642 shell.go:GOOS() - 0s
[TRACE] 09:52:46.642 shell.go:PathSeparator() - 0s
[TRACE] 09:52:46.642 shell.go:GOOS() - 0s
[TRACE] 09:52:46.642 shell.go:GOOS() - 0s
[TRACE] 09:52:46.642 shell.go:GOOS() - 0s
[TRACE] 09:52:46.642 shell.go:PathSeparator() - 0s
[TRACE] 09:52:46.642 shell.go:Pwd() - 0s
[TRACE] 09:52:46.642 shell_windows.go:IsWsl() - 0s
[TRACE] 09:52:46.642 shell.go:StackCount() - 0s
[TRACE] 09:52:46.643 shell.go:TemplateCache() - 0s
[DEBUG] 09:52:46.642 shell.go:Getenv:399 ↓
    {
      "Name": "subscription (98bbc518-e00c-4b63-8d48-402afbcd8ba2) - 9a450067-f983-4b09-a06b-2a5a247eb9b1 - user@upn",
      "Account": {
        "Id": "user@upn",
        "Type": "User",
        "Tenants": [
          "9a450067-f983-4b09-a06b-2a5a247eb9b1"
        ],
        "AccessToken": null,
        "Credential": null,
        "TenantMap": {},
        "CertificateThumbprint": null,
        "ExtendedProperties": {
          "Tenants": "9a450067-f983-4b09-a06b-2a5a247eb9b1",
          "HomeAccountId": "39a1c01d-4acc-493f-a4e9-86cf7d9c6232.9a450067-f983-4b09-a06b-2a5a247eb9b1",
          "Subscriptions": "79ce05f7-5853-4de1-830f-8d97fdb90f33,6cff2e8e-c15f-40f1-b709-3c1c56c24d04,98bbc518-e00c-4b63-8d48-402afbcd8ba2"
        }
      },
      "Environment": {
        "Name": "AzureCloud",
        "Type": "User-defined",
        "EnableAdfsAuthentication": false,
        "OnPremise": false,
        "ActiveDirectoryServiceEndpointResourceId": "https://management.core.windows.net/",
        "AdTenant": "common",
        "GalleryUrl": null,
        "ManagementPortalUrl": "https://portal.azure.com",
        "ServiceManagementUrl": "https://management.core.windows.net/",
        "PublishSettingsFileUrl": "https://go.microsoft.com/fwlink/?LinkID=301775",
        "ResourceManagerUrl": "https://management.azure.com/",
        "SqlDatabaseDnsSuffix": ".database.windows.net",
        "StorageEndpointSuffix": "core.windows.net",
        "ActiveDirectoryAuthority": "https://login.microsoftonline.com",
        "GraphUrl": "https://graph.windows.net/",
        "GraphEndpointResourceId": "https://graph.windows.net/",
        "TrafficManagerDnsSuffix": "trafficmanager.net",
        "AzureKeyVaultDnsSuffix": "vault.azure.net",
        "DataLakeEndpointResourceId": "https://datalake.azure.net/",
        "AzureDataLakeStoreFileSystemEndpointSuffix": "azuredatalakestore.net",
        "AzureDataLakeAnalyticsCatalogAndJobEndpointSuffix": "azuredatalakeanalytics.net",
        "AzureKeyVaultServiceEndpointResourceId": "https://vault.azure.net",
        "ContainerRegistryEndpointSuffix": "azurecr.io",
        "AzureOperationalInsightsEndpointResourceId": "https://api.loganalytics.io",
        "AzureOperationalInsightsEndpoint": "https://api.loganalytics.io/v1",
        "AzureAnalysisServicesEndpointSuffix": "asazure.windows.net",
        "AnalysisServicesEndpointResourceId": "https://region.asazure.windows.net",
        "AzureAttestationServiceEndpointSuffix": "attest.azure.net",
        "AzureAttestationServiceEndpointResourceId": "https://attest.azure.net",
        "AzureSynapseAnalyticsEndpointSuffix": "dev.azuresynapse.net",
        "AzureSynapseAnalyticsEndpointResourceId": "https://dev.azuresynapse.net",
        "VersionProfiles": [],
        "ExtendedProperties": {
          "MicrosoftGraphEndpointResourceId": "https://graph.microsoft.com/",
          "MicrosoftGraphUrl": "https://graph.microsoft.com",
          "AzureAttestationServiceEndpointResourceId": "https://attest.azure.net",
          "AzureAttestationServiceEndpointSuffix": "attest.azure.net",
          "AzureSynapseAnalyticsEndpointResourceId": "https://dev.azuresynapse.net",
          "AzureSynapseAnalyticsEndpointSuffix": "dev.azuresynapse.net",
          "OperationalInsightsEndpoint": "https://api.loganalytics.io/v1",
          "OperationalInsightsEndpointResourceId": "https://api.loganalytics.io",
          "AzureAnalysisServicesEndpointSuffix": "asazure.windows.net",
          "AnalysisServicesEndpointResourceId": "https://region.asazure.windows.net",
          "ManagedHsmServiceEndpointResourceId": "https://managedhsm.azure.net",
          "ManagedHsmServiceEndpointSuffix": "managedhsm.azure.net",
          "AzurePurviewEndpointSuffix": "purview.azure.net",
          "AzurePurviewEndpointResourceId": "https://purview.azure.net",
          "AzureAppConfigurationEndpointSuffix": "azconfig.io",
          "AzureAppConfigurationEndpointResourceId": "https://azconfig.io",
          "ContainerRegistryEndpointResourceId": "https://management.azure.com"
        },
        "BatchEndpointResourceId": "https://batch.core.windows.net/"
      },
      "Subscription": {
        "Id": "98bbc518-e00c-4b63-8d48-402afbcd8ba2",
        "Name": "subscription",
        "State": "Enabled",
        "SubscriptionId": "98bbc518-e00c-4b63-8d48-402afbcd8ba2",
        "TenantId": "9a450067-f983-4b09-a06b-2a5a247eb9b1",
        "HomeTenantId": "9a450067-f983-4b09-a06b-2a5a247eb9b1",
        "ManagedByTenantIds": [],
        "CurrentStorageAccountName": null,
        "SubscriptionPolicies": {
          "LocationPlacementId": "Public_2014-09-01",
          "QuotaId": "PayAsYouGo_2014-09-01",
          "SpendingLimit": "Off"
        },
        "ExtendedProperties": {
          "SubscriptionPolices": "{\"locationPlacementId\":\"Public_2014-09-01\",\"quotaId\":\"PayAsYouGo_2014-09-01\",\"spendingLimit\":\"Off\"}",
          "AuthorizationSource": "RoleBased",
          "HomeTenant": "9a450067-f983-4b09-a06b-2a5a247eb9b1",
          "Tags": "{\"date-created\":\"2023-12-26\",\"environment\":\"production\",\"purpose\":\"Production data\"}",
          "Environment": "AzureCloud",
          "Tenants": "9a450067-f983-4b09-a06b-2a5a247eb9b1",
          "Account": "user@upn"
        },
        "CurrentStorageAccount": null,
        "AuthorizationSource": "RoleBased",
        "Tags": {
          "date-created": "2023-12-26",
          "environment": "production",
          "purpose": "Production data"
        }
      },
      "Tenant": {
        "Id": "9a450067-f983-4b09-a06b-2a5a247eb9b1",
        "TenantId": "9a450067-f983-4b09-a06b-2a5a247eb9b1",
        "ExtendedProperties": {},
        "TenantCategory": null,
        "Country": null,
        "CountryCode": null,
        "Name": null,
        "Domains": [],
        "DefaultDomain": null,
        "TenantType": null,
        "TenantBrandingLogoUrl": null
      },
      "TokenCache": null,
      "VersionProfile": null,
      "ExtendedProperties": {}
    }
[TRACE] 09:52:46.643 shell.go:Getenv(POSH_AZURE_SUBSCRIPTION) - 1.1156ms
[TRACE] 09:52:46.643 shell.go:TemplateCache() - 0s
[DEBUG] 09:52:46.644 win32_windows.go:isWriteable:299 → not current user or in group
[DEBUG] 09:52:46.644 win32_windows.go:isWriteable:303 → current user is member of S-1-5-32-544
[DEBUG] 09:52:46.644 win32_windows.go:isWriteable:311 ↓
    WRITE_DAC
    WRITE_OWNER
    SYNCHRONIZE
    DELETE
    READ_CONTROL
[DEBUG] 09:52:46.644 win32_windows.go:isWriteable:313 → user has write access
[TRACE] 09:52:46.644 shell_windows.go:DirIsWritable() - 1.1515ms
[TRACE] 09:52:46.644 shell.go:TemplateCache() - 0s
[DEBUG] 09:52:46.646 shell.go:CommandPath:615 → C:\Program Files\Git\cmd\git.exe
[TRACE] 09:52:46.646 shell.go:CommandPath(git.exe) - 4.4946ms
[TRACE] 09:52:46.646 shell.go:HasCommand(git.exe) - 4.4946ms
[TRACE] 09:52:46.646 shell.go:Pwd() - 0s
[ERROR] 09:52:46.646 shell.go:HasParentFilePath:758 → CreateFile .git: The system cannot find the file specified.
[TRACE] 09:52:46.646 shell.go:HasParentFilePath(.git) - 0s
[DEBUG] 09:52:46.646 properties.go:GetBool:22 → fetch_bare_info: false
[DEBUG] 09:52:46.646 text.go:Render:70 → Rendering template:   {{ if gt .Code 0 }}{{ else }}{{ end }}
[DEBUG] 09:52:46.646 text.go:Render:70 → Rendering template:  {{ if .WSL }}WSL at {{ end }}{{.Icon}} 
[DEBUG] 09:52:46.646 text.go:Render:70 → Rendering template:  {{ path .Path .Location }} 
[DEBUG] 09:52:46.646 text.go:Render:70 → Rendering template:  {{ if .SSHSession }} {{ end }}{{ .UserName }} 
[DEBUG] 09:52:46.646 text.go:Render:70 → Rendering template:   {{ if ne .ID .Segments.azcli.ID }} {{ .Origin }}:{{ end }}{{ .Name }} 
[DEBUG] 09:52:46.647 text.go:Render:70 → Rendering template:   {{ if ne .ID .Segments.azpwsh.ID }} {{ .Origin }}:{{ .Name }}{{ end }} 
[TRACE] 09:52:46.647 shell.go:TemplateCache() - 0s
[TRACE] 09:52:46.647 shell.go:Shell() - 0s
[TRACE] 09:52:46.647 shell.go:TemplateCache() - 0s
[TRACE] 09:52:46.647 shell.go:Shell() - 0s
[TRACE] 09:52:46.647 shell.go:TemplateCache() - 0s
[TRACE] 09:52:46.648 shell.go:Shell() - 0s
[TRACE] 09:52:46.648 shell.go:TemplateCache() - 0s
[TRACE] 09:52:46.648 shell.go:TemplateCache() - 0s
[TRACE] 09:52:46.648 shell.go:TemplateCache() - 0s
[TRACE] 09:52:46.648 shell.go:Shell() - 0s
[TRACE] 09:52:46.648 shell.go:Shell() - 0s
[TRACE] 09:52:46.648 shell.go:Shell() - 0s
[DEBUG] 09:52:46.648 text.go:Render:70 → Rendering template: diamond
[DEBUG] 09:52:46.648 text.go:Render:70 → Rendering template: plain
[DEBUG] 09:52:46.648 text.go:Render:70 → Rendering template: powerline
[DEBUG] 09:52:46.648 text.go:Render:70 → Rendering template: powerline
[DEBUG] 09:52:46.648 text.go:Render:70 → Rendering template: powerline
[DEBUG] 09:52:46.648 text.go:Render:70 → Rendering template: powerline
[DEBUG] 09:52:46.648 text.go:Render:70 → Rendering template: powerline
[DEBUG] 09:52:46.648 text.go:Render:70 → Rendering template: powerline
[DEBUG] 09:52:46.648 text.go:Render:70 → Rendering template: powerline
[DEBUG] 09:52:46.648 text.go:Render:70 → Rendering template: powerline
[DEBUG] 09:52:46.648 text.go:Render:70 → Rendering template: powerline
[DEBUG] 09:52:46.648 text.go:Render:70 → Rendering template: powerline
[DEBUG] 09:52:46.648 text.go:Render:70 → Rendering template: powerline
[DEBUG] 09:52:46.648 text.go:Render:70 → Rendering template: powerline
[DEBUG] 09:52:46.648 text.go:Render:70 → Rendering template: {{ if gt .Code 0 }}p:status-error{{ end }}
[TRACE] 09:52:46.648 shell.go:TemplateCache() - 0s
[DEBUG] 09:52:46.648 text.go:Render:70 → Rendering template: diamond
[TRACE] 09:52:46.648 shell.go:Shell() - 0s
[TRACE] 09:52:46.648 shell.go:Shell() - 0s
[TRACE] 09:52:46.648 shell.go:Shell() - 0s
[TRACE] 09:52:46.648 shell.go:Flags() - 0s
[TRACE] 09:52:46.648 shell.go:Pwd() - 0s
[DEBUG] 09:52:46.648 shell_windows.go:56 → C:\Users\user(name
[TRACE] 09:52:46.648 shell.go:GOOS() - 0s
[DEBUG] 09:52:46.648 segment.go:SetEnabled:512 → Segment: Time
[DEBUG] 09:52:46.648 properties.go:GetString:28 → 15:04:05
[TRACE] 09:52:46.648 shell.go:TemplateCache() - 0s
[DEBUG] 09:52:46.648 text.go:Render:70 → Rendering template: {{ .CurrentDate | date .Format }}
[TRACE] 09:52:46.648 shell.go:TemplateCache() - 0s
[TRACE] 09:52:46.648 shell.go:Shell() - 0s
[DEBUG] 09:52:46.648 text.go:Render:70 → Rendering template: diamond
[TRACE] 09:52:46.648 shell.go:Shell() - 0s
[TRACE] 09:52:46.648 shell.go:Flags() - 0s
[TRACE] 09:52:46.648 shell.go:Shell() - 0s
[TRACE] 09:52:46.648 shell.go:Shell() - 0s
[DEBUG] 09:52:46.648 shell_windows.go:TerminalWidth:109 → terminal width: 180
[TRACE] 09:52:46.648 shell_windows.go:TerminalWidth() - 0s
[DEBUG] 09:52:46.648 shell.go:Getenv:399 → C:\Users\user(name\AppData\Local
[TRACE] 09:52:46.648 shell.go:Getenv(LOCALAPPDATA) - 0s
[TRACE] 09:52:46.648 shell_windows.go:CachePath() - 0s
[TRACE] 09:52:46.648 shell.go:Flags() - 0s
JanDeDobbeleer commented 10 months ago

@SvenAelterman I can confirm this is due to having an opening bracket as that breaks the logic due to a collision internally. We use a specific syntax to create the hyperlink and that one's failing because of this. I took the assumption no-one would ever have a single bracket in a folder name, but we all know what assumptions are....

SvenAelterman commented 10 months ago

Thank you for investigating.

In my case, the single opening ( is due to my display name in Entra ID (formerly Azure AD) having a text between parenthesis and for some reason, when creating the profile folder, Windows omits the closing ).

Any way to escape an opening (, because I can't modify my profile folder name?

JanDeDobbeleer commented 10 months ago

@SvenAelterman I'm rewriting the logic, but give me some time as I'm going to enjoy the holidays first. I have a draft ready as I realized the way we do it is rather stupid.

SvenAelterman commented 10 months ago

Yes, please enjoy the holidays! Happy New Year 🎉

github-actions[bot] commented 5 months ago

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.