anchor.diff:          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;
  +      };
  +
  +      shellGlobalAliases = mkOption {
  +        default = {};
  +        example = literalExample ''
  +          {
  +            UUID = "$(uuidgen | tr -d \\n)";
  +            G = "| grep";
  +          }
  +        '';
  +        description = ''
  +          Similar to <varname><link linkend="opt-programs.zsh.shellAliases">opt-programs.zsh.shellAliases</link></varname>,
  +          but are substituted anywhere on a line. 
           '';
           type = types.attrsOf types.str;
         };
  
positive.code: 
    aliasesStr = concatStringsSep "\n" (
      mapAttrsToList (k: v: "alias ${k}=${lib.escapeShellArg v}") cfg.shellAliases
    );
  
    zdotdir = "$HOME/" + cfg.dotDir;
  
negative.code: 
          # Aliases
          ${aliasesStr}
  
          # Global Aliases
          ${globalAliasesStr}
        '';
      }
  
  