anchor.diff:  
     aliasesStr = concatStringsSep "\n" (
       mapAttrsToList (k: v: "alias ${k}=${lib.escapeShellArg v}") cfg.shellAliases
  +  );
  +
  +  globalAliasesStr = concatStringsSep "\n" (
  +    mapAttrsToList (k: v: "alias -g ${k}=${lib.escapeShellArg v}") cfg.shellGlobalAliases
     );
   
     zdotdir = "$HOME/" + cfg.dotDir;
  
positive.code:         description = ''
            An attribute set that maps aliases (the top level attribute names in
            this option) to command strings or directly to build outputs.
          '';
          type = types.attrsOf types.str;
        };
  
negative.code: 
          # Aliases
          ${aliasesStr}
  
          # Global Aliases
          ${globalAliasesStr}
        '';
      }
  
  