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
With the intention that if PROMPT_COMMAND is already set, of merely appending to it rather than wiping-out what was already there. However, as written above, there's no semi-colon separating the previous command(s) from the new printf one, leading to unexpected behavior.
Type of issue
Code doesn't work
Feedback
The example here: https://learn.microsoft.com/en-us/windows/terminal/tutorials/new-tab-same-directory#bash
is missing a semi-colon in it's "bash magic". Currently you've got
With the intention that if PROMPT_COMMAND is already set, of merely appending to it rather than wiping-out what was already there. However, as written above, there's no semi-colon separating the previous command(s) from the new printf one, leading to unexpected behavior.
I believe it should instead read like this:
Page URL
https://learn.microsoft.com/en-us/windows/terminal/tutorials/new-tab-same-directory
Content source URL
https://github.com/MicrosoftDocs/terminal/blob/main/TerminalDocs/tutorials/new-tab-same-directory.md
Author
@zadjii-msft
Document Id
439baddf-3ec9-a46e-1b6e-3ec47cbd1d4c
The text was updated successfully, but these errors were encountered: