mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2025-12-11 22:02:32 +01:00
status: show signal name
This makes signal exit status easy to understand. Instead of just showing exit code "137", you now see "KILL(-9)". Based on #580 by @sei40kr (thanks!)
This commit is contained in:
parent
0bcef50e29
commit
f93ad073b7
2 changed files with 23 additions and 6 deletions
|
|
@ -508,6 +508,7 @@ This segment shows the return code of the last command.
|
|||
|`POWERLEVEL9K_STATUS_CROSS`|`false`|Set to true if you wish not to show the error code when the last command returned an error and optionally hide this segment when the last command completed successfully by setting `POWERLEVEL9K_STATUS_OK` to false.|
|
||||
|`POWERLEVEL9K_STATUS_OK`|`true`|Set to true if you wish to show this segment when the last command completed successfully, false to hide it.|
|
||||
|`POWERLEVEL9K_STATUS_SHOW_PIPESTATUS`|`true`|Set to true if you wish to show the exit status for all piped commands.|
|
||||
|`POWERLEVEL9K_STATUS_HIDE_SIGNAME`|`false`|Set to true return the raw exit code (`1-255`). When set to true, values over 128 are shown as `SIGNAME(-n)` (e.g. `KILL(-9)`)|
|
||||
|
||||
##### ram
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue