mirror of
https://github.com/paulirish/git-open.git
synced 2026-09-10 07:26:15 -04:00
Do not load PowerShell profile
This commit is contained in:
parent
14fdf5c96e
commit
ea62c477e7
2
git-open
2
git-open
|
|
@ -257,7 +257,7 @@ case $( uname -s ) in
|
||||||
CYGWIN*) open='cygstart';;
|
CYGWIN*) open='cygstart';;
|
||||||
*) # Try to detect WSL (Windows Subsystem for Linux)
|
*) # Try to detect WSL (Windows Subsystem for Linux)
|
||||||
if uname -r | grep -q -i Microsoft; then
|
if uname -r | grep -q -i Microsoft; then
|
||||||
open='powershell.exe Start'
|
open='powershell.exe -NoProfile Start'
|
||||||
else
|
else
|
||||||
open='xdg-open'
|
open='xdg-open'
|
||||||
fi;;
|
fi;;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue