diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/code.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/code.sh b/scripts/code.sh index 5acc461f51c..9caa49b1bf7 100755 --- a/scripts/code.sh +++ b/scripts/code.sh @@ -48,7 +48,7 @@ function code() { function code-wsl() { - HOST_IP=$(echo "" | powershell.exe –noprofile -Command "& {(Get-NetIPAddress | Where-Object {\$_.InterfaceAlias -like '*WSL*' -and \$_.AddressFamily -eq 'IPv4'}).IPAddress | Write-Host -NoNewline}") + HOST_IP=$(echo "" | powershell.exe -noprofile -Command "& {(Get-NetIPAddress | Where-Object {\$_.InterfaceAlias -like '*WSL*' -and \$_.AddressFamily -eq 'IPv4'}).IPAddress | Write-Host -NoNewline}") export DISPLAY="$HOST_IP:0" # in a wsl shell |