Skip to content

Commit 4f99ceb

Browse files
authoredJan 21, 2025
Add pathTranslationStyle to Profiles > Advanced (#831)
Adds the `pathTranslationStyle` setting to the profiles > advanced page.
1 parent f6c37d0 commit 4f99ceb

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
 

‎TerminalDocs/customize-settings/profile-advanced.md

+19
Original file line numberDiff line numberDiff line change
@@ -298,3 +298,22 @@ This stores the name of the profile generator that originated the profile. _Ther
298298

299299
> [!NOTE]
300300
> This field should be omitted when declaring a custom profile. It is used by Terminal to connect automatically generated profiles to your settings file.
301+
302+
___
303+
304+
## Path translation
305+
306+
Controls how file and directory paths are translated during drag-and-drop operations. `"wsl"` will convert paths like `C:\` to `/mnt/c`. `"cygwin"` will convert paths like `C:\` to `/cygdrive/c`. `"msys2"` will convert paths like `C:\` to `/c`.
307+
308+
**Property name:** `pathTranslationStyle`
309+
310+
**Necessity:** Optional
311+
312+
**Accepts:** `"none"`, `"wsl"`, `"cygwin"`, `"msys2"`
313+
314+
**Default value:** `"none"`
315+
316+
> [!IMPORTANT]
317+
> This feature is only available in [Windows Terminal Preview](https://aka.ms/terminal-preview).
318+
319+
<br />

0 commit comments

Comments
 (0)