mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-22 17:28:01 +00:00
prompt: add documentation for return value display
This commit is contained in:
parent
2cfd366ba6
commit
34482cb325
@ -26,6 +26,15 @@ in *zpreztorc*.
|
|||||||
zstyle ':prezto:module:prompt' pwd-length 'short'
|
zstyle ':prezto:module:prompt' pwd-length 'short'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Display Return Value
|
||||||
|
|
||||||
|
Some prompts display the return value in the prompt. If a prompt has support,
|
||||||
|
this can be disabled with the following snippet.
|
||||||
|
|
||||||
|
```sh
|
||||||
|
zstyle ':prezto:module:prompt' show-return-val 'no'
|
||||||
|
```
|
||||||
|
|
||||||
Theming
|
Theming
|
||||||
-------
|
-------
|
||||||
|
|
||||||
|
@ -117,6 +117,10 @@ zstyle ':prezto:module:prompt' theme 'sorin'
|
|||||||
# for longer or 'full' (with '~' expansion) for even longer prompt display.
|
# for longer or 'full' (with '~' expansion) for even longer prompt display.
|
||||||
# zstyle ':prezto:module:prompt' pwd-length 'short'
|
# zstyle ':prezto:module:prompt' pwd-length 'short'
|
||||||
|
|
||||||
|
# Set the prompt to display the return code along with an indicator for non-zero
|
||||||
|
# return codes. This is not supported by all prompts.
|
||||||
|
# zstyle ':prezto:module:prompt' show-return-val 'yes'
|
||||||
|
|
||||||
#
|
#
|
||||||
# Ruby
|
# Ruby
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user