mirror of
https://github.com/nix-community/home-manager
synced 2024-11-23 11:39:46 +01: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}'
|
zstyle ':prezto:module:prompt' pwd-length '${cfg.prompt.pwdLength}'
|
||||||
''}
|
''}
|
||||||
${optionalString (cfg.prompt.showReturnVal != null) ''
|
${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) ''
|
${optionalString (cfg.python.virtualenvAutoSwitch != null) ''
|
||||||
zstyle ':prezto:module:python:virtualenv' auto-switch '${
|
zstyle ':prezto:module:python:virtualenv' auto-switch '${
|
||||||
|
|
Loading…
Reference in a new issue