pipestatus: default to true (on)

pull/22/head
Christian Höltje 8 years ago
parent 543bd2f844
commit 25a6c3a4a8

@ -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…
Cancel
Save