WSL: do not load PowerShell profile (#190)

This commit is contained in:
John Meyer 2022-07-18 15:37:31 -04:00 committed by GitHub
parent 14fdf5c96e
commit 0296983a28
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -257,7 +257,7 @@ case $( uname -s ) in
CYGWIN*) open='cygstart';;
*) # Try to detect WSL (Windows Subsystem for Linux)
if uname -r | grep -q -i Microsoft; then
open='powershell.exe Start'
open='powershell.exe -NoProfile Start'
else
open='xdg-open'
fi;;