X-Git-Url: https://apps.delaporte.us/gitweb/dotfiles.git/blobdiff_plain/7396f2f04c5643b6a3993bc1f73e14e9273cdfec..1c2a05f18c3aa2f41186a91de5dcd0cc1e59040a:/Microsoft.PowerShell_profile.ps1?ds=sidebyside diff --git a/Microsoft.PowerShell_profile.ps1 b/Microsoft.PowerShell_profile.ps1 index e0c2494..64fd37c 100644 --- a/Microsoft.PowerShell_profile.ps1 +++ b/Microsoft.PowerShell_profile.ps1 @@ -16,7 +16,10 @@ $env:PSModulePath = $env:PSModulePath.Replace("\\ad.uillinois.edu\techsvc\home\$ $ENV:PATH +=":/home/delaport/development/flutter/bin" # Flutter in Kali under WSL # Some Paths that are annoying to find/restore if the installer fails -$IsWindows = ($env:OS -eq "Windows_NT") +if($IsWindows -eq "") { + # Bootstrap for older PowerShell + $IsWindows = ($env:OS -eq "Windows_NT") +} if($IsWindows){ $ENV:PATH+=";C:\Program Files\Microsoft VS Code\bin" # One Editor to rule them all $ENV:PATH+=";C:\Program Files\Python38\Scripts\;C:\Program Files\Python38\" # Python latest as of 2019 December