![]() To do this, open the Windows terminal settings file. You can use the same line of code you used above to change the default Ubuntu (Linux) directory in Windows Terminal. Change the Ubuntu default directory in the Windows terminal Select File > Save to Notepad to save your changes. Be sure to replace PATH with the new directory path. Press Enter to add a new line and type the following. Place the cursor after the last value in this section and type a, (comma). Scroll down to the "Make changes here to the cmd.exe profile" section. To do this, open the Windows Terminal settings as you did previously. The only difference is that you need to add the new directory path in the Command Prompt section of the settings file. You can change the default command line directory using the same steps as listed above. Change the default command line directory in the Windows terminal Now when you open a new PowerShell tab in Windows Terminal, it will use the newly specified directory as the default directory. "startingDirectory": "PATH"įor example, to set your desktop as the default directory, you would enter the following line of code in your settings file (replacing "Username" with your username): "startingDirectory": "C: \ Users \ Username \ Desktop"Īfter entering the path, click File > Save to Notepad to save your changes. Also, where you have a single bar in the way, make it a double bar. Make sure your directory path is enclosed in double quotes. Read too Massive GoDaddy data breach exposes over a million accounts
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |