I also show a couple of ways to detect that Windows Terminal is in use: the existence of an environment variable called WT_SESSION and the path of the process’ parent.Variable expansion does not seem to work in the icon path (so no %APPDATA%… – it stops Windows Terminal from running entirely!).Windows Terminal will accept icon files in. To make this the default in Windows Terminal, open the Windows Terminal Settings, find your WSL2 profile, and add “commandline”: “bash.exe ~” ", Every time.īash ~ launches the bash shell into the user’s home directory. Design process We worked with the WinUI team as well as many designers to define what TabView would look like. The mounted Windows disk – /mnt/c/ – is still slow for disk-heavy operations, like Git clones, because of Linux-plus-NTFS something reasons.īecause of this, the first thing I do when I open my WSL2 Ubuntu distro in Windows Terminal is change to my Linux home directory. Plus, the WinUI TabView is flexible for example, Terminal includes a custom dropdown tab button that isn’t found in the stock TabView but is well supported within the control. A little tip, partly written for the benefit of future-me…Īs you may know, WSL2 filesystem performance is much improved over its predecessor – but only in the virtual disk of your Linux distro.
0 Comments
Leave a Reply. |