mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-14 00:50:08 +00:00
pipestatus: default to true (on)
This commit is contained in:
parent
543bd2f844
commit
25a6c3a4a8
2 changed files with 2 additions and 2 deletions
|
@ -463,7 +463,7 @@ This segment shows the return code of the last command.
|
||||||
|----------|---------------|-------------|
|
|----------|---------------|-------------|
|
||||||
|`POWERLEVEL9K_STATUS_VERBOSE`|`true`|Set to false if you wish to not 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_IN_NON_VERBOSE` to false.|
|
|`POWERLEVEL9K_STATUS_VERBOSE`|`true`|Set to false if you wish to not 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_IN_NON_VERBOSE` to false.|
|
||||||
|`POWERLEVEL9K_STATUS_OK_IN_NON_VERBOSE`|`false`|Set to true if you wish to show this segment when the last command completed successfully in non-verbose mode.|
|
|`POWERLEVEL9K_STATUS_OK_IN_NON_VERBOSE`|`false`|Set to true if you wish to show this segment when the last command completed successfully in non-verbose mode.|
|
||||||
|`POWERLEVEL9K_STATUS_SHOW_PIPESTATUS`|`false`|Set to true if you wish to show the exit status for all piped commands.|
|
|`POWERLEVEL9K_STATUS_SHOW_PIPESTATUS`|`true`|Set to true if you wish to show the exit status for all piped commands.|
|
||||||
|
|
||||||
##### ram
|
##### ram
|
||||||
|
|
||||||
|
|
|
@ -1019,7 +1019,7 @@ prompt_ssh() {
|
||||||
# Status: return code if verbose, otherwise just an icon if an error occurred
|
# Status: return code if verbose, otherwise just an icon if an error occurred
|
||||||
set_default POWERLEVEL9K_STATUS_VERBOSE true
|
set_default POWERLEVEL9K_STATUS_VERBOSE true
|
||||||
set_default POWERLEVEL9K_STATUS_OK_IN_NON_VERBOSE false
|
set_default POWERLEVEL9K_STATUS_OK_IN_NON_VERBOSE false
|
||||||
set_default POWERLEVEL9K_STATUS_SHOW_PIPESTATUS false
|
set_default POWERLEVEL9K_STATUS_SHOW_PIPESTATUS true
|
||||||
prompt_status() {
|
prompt_status() {
|
||||||
local ec_text
|
local ec_text
|
||||||
local ec_sum
|
local ec_sum
|
||||||
|
|
Loading…
Reference in a new issue