From fae19d605a6625b0fbc003964a3b25a50f1adece Mon Sep 17 00:00:00 2001 From: "Paul \"TBBle\" Hampson" Date: Sat, 12 Feb 2022 10:51:45 +1100 Subject: [PATCH] Quoted the env-var for `setx PROMPT` --- TerminalDocs/tutorials/new-tab-same-directory.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TerminalDocs/tutorials/new-tab-same-directory.md b/TerminalDocs/tutorials/new-tab-same-directory.md index 370bcab5..cdfedc71 100644 --- a/TerminalDocs/tutorials/new-tab-same-directory.md +++ b/TerminalDocs/tutorials/new-tab-same-directory.md @@ -45,7 +45,7 @@ This will append `$e]9;9;$P$e\` to your current prompt. When cmd evaluates this Note that the above command will only work for the current `cmd.exe` session. To set the value permanently, AFTER running the above command, you'll want to run ```cmd -setx PROMPT %PROMPT% +setx PROMPT "%PROMPT%" ``` #### PowerShell: `powershell.exe` or `pwsh.exe`