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
Under Settings>Main>Tabs, if you use a tab template of "%f" (folder) or "%d" (current directory) for the tab name and use powershell as your prompt, the tab title won't actually update with the current directory. If you do use cmd.exe as your prompt instead, the tab title does update properly. I managed to figure out the fix for this. Adding this line: & ConEmuC64 -StoreCWD "$dir"
...to the cmder\vendor\profile.ps1 powershell profile as the last statement of the function global:prompt { function does allow for the tab title to update properly on directory navigation.
So the full function looks like:
That line & ConEmuC64 -StoreCWD "$dir" doesn't do anything for me even & ConEmuC64 -StoreCWD "test"
I don't see $dir defined in your post I'm not even sure how yours is working.
The line I get it to work with is: conemuC -GuiMacro Rename 0 'tabname' but putting that into the prompt slows it down by a few tenths which I don't find acceptable. I tried running it as a background task and it's just as slow.
I added the host process title in though so at least windows knows that process's name by it's directory. You see this in the start aero peak list of cmders open tabs
Under Settings>Main>Tabs, if you use a tab template of "%f" (folder) or "%d" (current directory) for the tab name and use powershell as your prompt, the tab title won't actually update with the current directory. If you do use cmd.exe as your prompt instead, the tab title does update properly. I managed to figure out the fix for this. Adding this line:
& ConEmuC64 -StoreCWD "$dir"
...to the
cmder\vendor\profile.ps1
powershell profile as the last statement of thefunction global:prompt {
function does allow for the tab title to update properly on directory navigation.So the full function looks like:
Can one of the project maintainers add this one liner?
The text was updated successfully, but these errors were encountered: