mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-26 19:39:39 -08:00
chore: update PS install docs
This commit is contained in:
parent
bd4d563245
commit
95c51a8538
|
@ -195,7 +195,7 @@ Edit `$PROFILE` in your preferred PowerShell version and add the following lines
|
|||
$errorCode = 0
|
||||
if ($lastCommandSuccess -eq $false) {
|
||||
#native app exit code
|
||||
if ($realLASTEXITCODE -is [int]) {
|
||||
if ($realLASTEXITCODE -is [int] -and $realLASTEXITCODE -gt 0) {
|
||||
$errorCode = $realLASTEXITCODE
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in a new issue