Unable to get Working Directory in Console Title since upgrade 16.9 #3918
|
I was previously using the powershell module for Oh-My-Posh and recently upgraded to the winget installer version. I'm running on Windows and using the Windows Terminal. Before upgrade I used the following : After the upgrade the above didn't work so I tried: Using the above template only puts the folder of the working directory (understandably), not the entire directory. So I tried several other template values... I'm guessing I'm missing something simple, but I just haven't found it and am hoping someone can help. Thanks, |
"console_title_template": "{{.Folder}}"works and that indeed adds the current folder. If you want the full path, use"console_title_template": "{{ .PWD }}". See here, this leverages the global template properties listed here.