anchor.diff:          source ${zdotdir}/.zshenv
         '';
       })
  +
       (mkIf cfg.oh-my-zsh.enable {
         # Oh-My-Zsh calls compinit during initialization,
         # calling it twice causes sight start up slowdown
         # as all $fpath entries will be traversed again.
         programs.zsh.enableCompletion = mkForce false;
       })
  +
       (mkIf (cfg.plugins != []) {
         # Many plugins require compinit to be called
         # but allow the user to opt out.
  
positive.code:         ${aliasesStr}
        '';
      }
      (mkIf (cfg.dotDir != null) {
        programs.zsh.sessionVariables.ZDOTDIR = zdotdir;
  
  
negative.code: 
          ${optionalString cfg.oh-my-zsh.enable ''
              # oh-my-zsh configuration generated by NixOS
              ${optionalString (cfg.oh-my-zsh.plugins != [])
                "plugins=(${concatStringsSep " " cfg.oh-my-zsh.plugins})"
              }
  