zsh: optimize setOptions with array-based loops
Replace individual setopt statements with array-based loops for cfg.setOptions. Use lib.hm.zsh.define for consistent array formatting and add unset statements to clean up temporary variables, improving consistency with other zsh optimizations. Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
parent
04f672b5db
commit
3aaf340173
2 changed files with 7 additions and 2 deletions
|
|
@ -16,6 +16,7 @@
|
|||
zsh-plugins = ./plugins.nix;
|
||||
zsh-prezto = ./prezto.nix;
|
||||
zsh-session-variables = ./session-variables.nix;
|
||||
zsh-smart-formatting = ./smart-formatting.nix;
|
||||
zsh-syntax-highlighting = ./syntax-highlighting.nix;
|
||||
zsh-zprof = ./zprof.nix;
|
||||
zshrc-contents-priorities = ./zshrc-content-priorities.nix;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue