![]() If you are using the Windows Terminal Settings UI, rather than the settings.json file, to declare this path, you can use the Browse. ![]() This is the directory the shell starts in when it is loaded.Įxample: Start the PowerShell profile in the GitHubRepos folder of your Documents directory by finding the powershell.exe profile and adding "startingDirectory": "%USERPROFILE%/Documents/GitHubRepos",Įxample with WSL: When setting the starting directory for a Linux distribution installed via WSL, use the format: "startingDirectory": "\\\\wsl$\\DISTRO NAME\\home\\USERNAME", replacing with the placeholders with the proper names of your distribution. This is the executable used in the profile.Īccepts: Executable file name as a stringĭefault value: "cmd.exe" Starting directory This "title" behavior can be overridden by using tabTitle. Some shells (like bash) may choose to ignore this initial value, while others ( Command Prompt, PowerShell) may use this value over the lifetime of the application. This value is also used as the "title" to pass to the shell on startup. ![]() This is the name of the profile that will be displayed in the dropdown menu. If you'd like a setting to apply to all of your profiles, you can add it to the defaults section above the list of profiles in your settings.json file. ![]() The settings listed below are specific to each unique profile. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |