parent
55779b20cd
commit
f911ebbec9
17 changed files with 51 additions and 56 deletions
|
|
@ -365,11 +365,11 @@ in {
|
|||
# Generated by Nix
|
||||
${optionalString (cfg.caseSensitive != null) ''
|
||||
zstyle ':prezto:*:*' case-sensitive '${
|
||||
if cfg.caseSensitive then "yes" else "no"
|
||||
lib.hm.booleans.yesNo cfg.caseSensitive
|
||||
}'
|
||||
''}
|
||||
${optionalString (cfg.color != null) ''
|
||||
zstyle ':prezto:*:*' color '${if cfg.color then "yes" else "no"}'
|
||||
zstyle ':prezto:*:*' color '${lib.hm.booleans.yesNo cfg.color}'
|
||||
''}
|
||||
${optionalString (cfg.pmoduleDirs != [ ]) ''
|
||||
zstyle ':prezto:load' pmodule-dirs ${
|
||||
|
|
@ -410,12 +410,12 @@ in {
|
|||
''}
|
||||
${optionalString (cfg.editor.dotExpansion != null) ''
|
||||
zstyle ':prezto:module:editor' dot-expansion '${
|
||||
if cfg.editor.dotExpansion then "yes" else "no"
|
||||
lib.hm.booleans.yesNo cfg.editor.dotExpansion
|
||||
}'
|
||||
''}
|
||||
${optionalString (cfg.editor.promptContext != null) ''
|
||||
zstyle ':prezto:module:editor' ps-context '${
|
||||
if cfg.editor.promptContext then "yes" else "no"
|
||||
lib.hm.booleans.yesNo cfg.editor.promptContext
|
||||
}'
|
||||
''}
|
||||
${optionalString (cfg.git.submoduleIgnore != null) ''
|
||||
|
|
@ -447,27 +447,27 @@ in {
|
|||
''}
|
||||
${optionalString (cfg.python.virtualenvAutoSwitch != null) ''
|
||||
zstyle ':prezto:module:python:virtualenv' auto-switch '${
|
||||
if cfg.python.virtualenvAutoSwitch then "yes" else "no"
|
||||
lib.hm.booleans.yesNo cfg.python.virtualenvAutoSwitch
|
||||
}'
|
||||
''}
|
||||
${optionalString (cfg.python.virtualenvInitialize != null) ''
|
||||
zstyle ':prezto:module:python:virtualenv' initialize '${
|
||||
if cfg.python.virtualenvInitialize then "yes" else "no"
|
||||
lib.hm.booleans.yesNo cfg.python.virtualenvInitialize
|
||||
}'
|
||||
''}
|
||||
${optionalString (cfg.ruby.chrubyAutoSwitch != null) ''
|
||||
zstyle ':prezto:module:ruby:chruby' auto-switch '${
|
||||
if cfg.ruby.chrubyAutoSwitch then "yes" else "no"
|
||||
lib.hm.booleans.yesNo cfg.ruby.chrubyAutoSwitch
|
||||
}'
|
||||
''}
|
||||
${optionalString (cfg.screen.autoStartLocal != null) ''
|
||||
zstyle ':prezto:module:screen:auto-start' local '${
|
||||
if cfg.screen.autoStartLocal then "yes" else "no"
|
||||
lib.hm.booleans.yesNo cfg.screen.autoStartLocal
|
||||
}'
|
||||
''}
|
||||
${optionalString (cfg.screen.autoStartRemote != null) ''
|
||||
zstyle ':prezto:module:screen:auto-start' remote '${
|
||||
if cfg.screen.autoStartRemote then "yes" else "no"
|
||||
lib.hm.booleans.yesNo cfg.screen.autoStartRemote
|
||||
}'
|
||||
''}
|
||||
${optionalString (cfg.ssh.identities != [ ]) ''
|
||||
|
|
@ -502,7 +502,7 @@ in {
|
|||
''}
|
||||
${optionalString (cfg.terminal.autoTitle != null) ''
|
||||
zstyle ':prezto:module:terminal' auto-title '${
|
||||
if cfg.terminal.autoTitle then "yes" else "no"
|
||||
lib.hm.booleans.yesNo cfg.terminal.autoTitle
|
||||
}'
|
||||
''}
|
||||
${optionalString (cfg.terminal.windowTitleFormat != null) ''
|
||||
|
|
@ -516,17 +516,17 @@ in {
|
|||
''}
|
||||
${optionalString (cfg.tmux.autoStartLocal != null) ''
|
||||
zstyle ':prezto:module:tmux:auto-start' local '${
|
||||
if cfg.tmux.autoStartLocal then "yes" else "no"
|
||||
lib.hm.booleans.yesNo cfg.tmux.autoStartLocal
|
||||
}'
|
||||
''}
|
||||
${optionalString (cfg.tmux.autoStartRemote != null) ''
|
||||
zstyle ':prezto:module:tmux:auto-start' remote '${
|
||||
if cfg.tmux.autoStartRemote then "yes" else "no"
|
||||
lib.hm.booleans.yesNo cfg.tmux.autoStartRemote
|
||||
}'
|
||||
''}
|
||||
${optionalString (cfg.tmux.itermIntegration != null) ''
|
||||
zstyle ':prezto:module:tmux:iterm' integrate '${
|
||||
if cfg.tmux.itermIntegration then "yes" else "no"
|
||||
lib.hm.booleans.yesNo cfg.tmux.itermIntegration
|
||||
}'
|
||||
''}
|
||||
${optionalString (cfg.tmux.defaultSessionName != null) ''
|
||||
|
|
@ -534,7 +534,7 @@ in {
|
|||
''}
|
||||
${optionalString (cfg.utility.safeOps != null) ''
|
||||
zstyle ':prezto:module:utility' safe-ops '${
|
||||
if cfg.utility.safeOps then "yes" else "no"
|
||||
lib.hm.booleans.yesNo cfg.utility.safeOps
|
||||
}'
|
||||
''}
|
||||
${cfg.extraConfig}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue