mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2025-02-16 15:54:29 +01:00
fix signal names printed by status prompt segment
This commit is contained in:
parent
b57d6c7ee6
commit
c9622cb5ec
1 changed files with 1 additions and 1 deletions
|
@ -1421,7 +1421,7 @@ exit_code_or_status() {
|
||||||
if [[ "$POWERLEVEL9K_STATUS_HIDE_SIGNAME" = true ]] || (( ec <= 128 )); then
|
if [[ "$POWERLEVEL9K_STATUS_HIDE_SIGNAME" = true ]] || (( ec <= 128 )); then
|
||||||
_P9K_RETVAL=$ec
|
_P9K_RETVAL=$ec
|
||||||
else
|
else
|
||||||
_P9K_RETVAL="SIG${signals[$((sig + 1))]}($((ec - 128)))"
|
_P9K_RETVAL="SIG${signals[$((ec - 127))]}($((ec - 128)))"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue