This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function Add-TerminalVariables { | |
| [CmdletBinding()] | |
| param () | |
| $localIsWindowsTerminal = $false | |
| $localIsAITerminal = $false | |
| # Check if PowerShell version is 5.1 or below, or if running on Windows | |
| if ($PSVersionTable.PSVersion.Major -le 5 -or $IsWindows -eq $true) { | |
| $currentPid = $PID |