Skip to content

Instantly share code, notes, and snippets.

@skyline75489
Last active October 15, 2021 23:49
Show Gist options
  • Save skyline75489/784548403f230bfa2769556a0e4cc9d7 to your computer and use it in GitHub Desktop.
Save skyline75489/784548403f230bfa2769556a0e4cc9d7 to your computer and use it in GitHub Desktop.
Windows Terminal OSC 7 for CMD
PROMPT=$E]7;file://%COMPUTERNAME%/$P$E\$P$G
@3N4N
Copy link

3N4N commented Oct 15, 2021

It doesn't work for me. I'm using it to open new tabs/splits in Windows Terminal in he same directory. Your powershell prompt worked. But for cmd this appears to do nothing.

@LuanVSO
Copy link

LuanVSO commented Oct 15, 2021

yeah you have use osc]9;9 for it to work on wt rn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment