Skip to content

Commit

Permalink
Update modules/programs/zsh/default.nix
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Hoang <[email protected]>
  • Loading branch information
mrdomino and Enzime committed Jan 21, 2024
1 parent 3a672f4 commit b886721
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/programs/zsh/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ with lib;

let
cfg = config.programs.zsh;
opt = options.programs.zsh;

zshVariables =
mapAttrsToList (n: v: ''${n}="${v}"'') cfg.variables;
Expand Down Expand Up @@ -73,6 +74,7 @@ in
programs.zsh.enableGlobalCompInit = mkOption {
type = types.bool;
default = cfg.enableCompletion;
defaultText = literalExpression "config.${opt.enableCompletion}";
description = lib.mdDoc ''
Enable execution of compinit call for all interactive zsh shells.
Expand Down

0 comments on commit b886721

Please sign in to comment.