mirror of
https://github.com/nix-community/home-manager
synced 2024-11-10 15:14:26 +00:00
prezto: add missing use of yesNo
Specifically, this fixes evaluation of prompt.showReturnVal.
This commit is contained in:
parent
5ffb0f1f81
commit
81f16a1e3c
1 changed files with 3 additions and 1 deletions
|
@ -443,7 +443,9 @@ in {
|
|||
zstyle ':prezto:module:prompt' pwd-length '${cfg.prompt.pwdLength}'
|
||||
''}
|
||||
${optionalString (cfg.prompt.showReturnVal != null) ''
|
||||
zstyle ':prezto:module:prompt' show-return-val '${cfg.prompt.showReturnVal}'
|
||||
zstyle ':prezto:module:prompt' show-return-val '${
|
||||
lib.hm.booleans.yesNo cfg.prompt.showReturnVal
|
||||
}'
|
||||
''}
|
||||
${optionalString (cfg.python.virtualenvAutoSwitch != null) ''
|
||||
zstyle ':prezto:module:python:virtualenv' auto-switch '${
|
||||
|
|
Loading…
Reference in a new issue