intelli-shell 0.2.7

Like IntelliSense, but for shells
Documentation
$null = New-Item -Force -Path $env:APPDATA\IntelliShell\Intelli-Shell\data\bin -Type Directory
Invoke-WebRequest -UseBasicParsing -URI "https://github.com/lasantosr/intelli-shell/releases/latest/download/intelli-shell-x86_64-pc-windows-msvc.zip" -OutFile $env:TMP\intelli-shell.zip
Expand-Archive -Force -Path $env:TMP\intelli-shell.zip -DestinationPath $env:APPDATA\IntelliShell\Intelli-Shell\data\bin
Remove-Item $env:TMP\intelli-shell.zip
$Path = [Environment]::GetEnvironmentVariable("PATH", [EnvironmentVariableTarget]::User) 
if ($Path -NotLike "*IntelliShell*") { 
    $Path = $Path + [IO.Path]::PathSeparator + "$env:APPDATA\IntelliShell\Intelli-Shell\data\bin"
    [Environment]::SetEnvironmentVariable("Path", $Path, [EnvironmentVariableTarget]::User)
}
if (([string]::IsNullOrWhiteSpace($env:INTELLI_SKIP_PROFILE)) -Or ($env:INTELLI_SKIP_PROFILE -eq "0")) {

    $ProfileContent = $null
    if (Test-Path -Path $Profile -PathType Leaf) {
        $ProfileContent = Get-Content -Raw $Profile
    } else {
        $Parent = Split-Path -parent $Profile
        $null = New-Item -Force -ItemType Directory -Path $Parent
        $null = New-Item -ItemType File -Path $Profile
    }
    if (($null -eq $ProfileContent) -Or ($ProfileContent -NotLike "*IntelliShell*")) { 
        Add-Content $Profile "`n# IntelliShell"
        Add-Content $Profile "`$env:INTELLI_HOME = `"`$env:APPDATA\IntelliShell\Intelli-Shell\data`""
        Add-Content $Profile "# `$env:INTELLI_SEARCH_HOTKEY = 'Ctrl+Spacebar'"
        Add-Content $Profile "# `$env:INTELLI_BOOKMARK_HOTKEY = 'Ctrl+b'"
        Add-Content $Profile "# `$env:INTELLI_LABEL_HOTKEY = 'Ctrl+l'"
        Add-Content $Profile ". `$env:INTELLI_HOME\bin\intelli-shell.ps1"
    }
    Write-Host "Close this terminal and open a new one for the changes to take effect"

} else {
    Write-Host "You might want to update your profile files!"
    Write-Host "`$env:INTELLI_HOME = `"`$env:APPDATA\IntelliShell\Intelli-Shell\data`""
    Write-Host ". `$env:INTELLI_HOME\bin\intelli-shell.ps1"
    Write-Host ""
    Write-Host "Also, close this terminal and open a new one for the changes on '`$env:PATH' to take effect"
}