Skip to content

Commit

Permalink
Add double quotes to $PWD on line 148 (#569)
Browse files Browse the repository at this point in the history
This will help print the current working directory correctly if it has a space in its name. It was previously stated on line 109 in the WSL example.
  • Loading branch information
oseughu authored Oct 6, 2022
1 parent 519d50d commit ec52974
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TerminalDocs/tutorials/new-tab-same-directory.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ For MINGW, Git Bash and Cygwin, you need to modify the `PROMPT_COMMAND` for WSL:
Add the following line to the end of your `.bashrc` file:
```bash
PROMPT_COMMAND=${PROMPT_COMMAND:+"$PROMPT_COMMAND; "}'printf "\e]9;9;%s\e\\" "`cygpath -w $PWD`"'
PROMPT_COMMAND=${PROMPT_COMMAND:+"$PROMPT_COMMAND; "}'printf "\e]9;9;%s\e\\" "`cygpath -w "$PWD"`"'
```
> [!NOTE]
Expand Down

0 comments on commit ec52974

Please sign in to comment.