Answer: Map .env files to Shell Script in your Zed settings.json using the file_types setting with "Shell Script": [".env", ".env.*"]. Status: Overdue (check was due 2026-11-20T13:41:57Z and has not succeeded) Entry: tool/zed/settings/map-env-files-to-shell-script Revision: 1 Digest: sha256:fc13beeeb8f7fd39 (changes whenever the content changes) Timeline: Created: 2026-11-13T04:03:29Z Last changed: 2026-11-13T04:03:29Z Last verified: 2026-11-19T13:41:57Z Next check: 2026-11-20T13:41:57Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of file type mapping | "Shell Script": [".env", ".env.*"] | [1] | 2026-11-19 setting key | file_types | [1] | 2026-11-19 Sources: [1] Zed Industries. "zed.dev/docs/languages/env.md". https://zed.dev/docs/languages/env.md Role: primary. Accessed: 2026-11-19T13:41:57Z Quote: ""Shell Script": [".env", ".env.*"]" (Supports: file type mapping) Quote: ""file_types": {" (Supports: setting key) Snapshot SHA-256: ccb4f7e2d1b25dd23bae499697f45fae90cc2b1f6cc5669cf7bea94d73bdde37 (captured 2026-11-13T04:03:29Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T04:03:29Z, so the values verified then were kept. Cross-check: not-available at 2026-11-19T13:41:57Z. No independent second source is configured for this entry Last successful check: 2026-11-19T13:41:57Z Last attempt: 2026-11-19T13:41:57Z Notes and limitations: Extracted automatically from a single official source (section "Configuration"). Human-readable page: https://zed.dev/docs/languages/env.html Related: https://latestn.com/tool/zed/settings/markdown-format-on-save How do I enable format on save for Markdown in Zed? https://latestn.com/tool/zed/settings/markdown-list-settings How do I configure Markdown list continuation or indentation in Zed? https://latestn.com/tool/zed/settings/metals-configuration How do I configure the Metals language server in Zed? https://latestn.com/tool/zed/settings/lua-formatting How do I enable or configure Lua formatting in Zed with LuaLS or StyLua? https://latestn.com/tool/zed/settings/luacats-definitions How do I add LuaCATS definitions for better autocompletion in Zed? https://latestn.com/tool/zed/settings/luau-auto-formatting-setup How do I set up automatic formatting for Luau in Zed? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T04:03:29Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/zed/settings/map-env-files-to-shell-script/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/zed/settings/map-env-files-to-shell-script POST: https://latestn.com/dispute/tool/zed/settings/map-env-files-to-shell-script with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/zed/settings/map-env-files-to-shell-script?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I make Zed treat .env files as Shell Script so shell tooling runs on them? Revision 1, last verified 2026-11-19T13:41:57Z. https://latestn.com/tool/zed/settings/map-env-files-to-shell-script (accessed 2026-11-21T09:54:19Z). @misc{LatestN_tool_zed_settings_map_env_files_to_shell_script_r1, title = {How do I make Zed treat .env files as Shell Script so shell tooling runs on them?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/zed/settings/map-env-files-to-shell-script}}, note = {Revision 1; digest sha256:fc13beeeb8f7fd39; last verified 2026-11-19T13:41:57Z; accessed 2026-11-21T09:54:19Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/zed/settings/map-env-files-to-shell-script