nixpkgs/nixos/modules/programs/zsh
NAHO a2ed7e8d88
nixos: remove optional builtins prefixes from prelude functions
Remove optional builtins prefixes from prelude functions by running:

    builtins=(
      abort
      baseNameOf
      break
      derivation
      derivationStrict
      dirOf
      false
      fetchGit
      fetchMercurial
      fetchTarball
      fetchTree
      fromTOML
      import
      isNull
      map
      null
      placeholder
      removeAttrs
      scopedImport
      throw
      toString
      true
    )

    fd \
      --exclude doc/manual/release-notes \
      --type file \
      . \
      nixos \
      --exec-batch sed --in-place --regexp-extended "
        s/\<builtins\.($(
          printf '%s\n' "${builtins[@]}" |
            paste --delimiter '|' --serial -
        ))\>/\1/g
      "

    nix fmt
2026-01-15 16:07:55 +01:00
..
oh-my-zsh.md
oh-my-zsh.nix nixos/oh-my-zsh: Fix pathsToLink type error 2025-11-23 18:13:28 +00:00
zinputrc
zsh-autoenv.nix
zsh-autosuggestions.nix
zsh-syntax-highlighting.nix treewide: remove redundant parentheses 2025-10-05 10:52:03 +02:00
zsh.nix nixos: remove optional builtins prefixes from prelude functions 2026-01-15 16:07:55 +01:00