PowerShell profile for minimizing environment switch
Create a folder named WindowsPowerShell
in your Documents folder. Then copy this file inside that folder with the name being Microsoft.PowerShell_profile.ps1
.
After opening a new PowerShell window, all of your Linux commands will be available directly from powershell, without the need of using bash -c ""
.
Right now command autocomplete doesn't works, but windows paths will be parsed so you can autocomplete paths.
In administrator privileged command set-executionpolicy remotesigned
ubuntu1804.exe config --default-user root
Using dir
, then ls