mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-28 20:39:40 -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
|
$errorCode = 0
|
||||||
if ($lastCommandSuccess -eq $false) {
|
if ($lastCommandSuccess -eq $false) {
|
||||||
#native app exit code
|
#native app exit code
|
||||||
if ($realLASTEXITCODE -is [int]) {
|
if ($realLASTEXITCODE -is [int] -and $realLASTEXITCODE -gt 0) {
|
||||||
$errorCode = $realLASTEXITCODE
|
$errorCode = $realLASTEXITCODE
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in a new issue