{"name":"CLAUDE_CODE_GLOB_HIDDEN","slug":"claude-code-glob-hidden","family":"env","title":"Environment variables","noun":"environment variable","description":"Set to `false` to exclude dotfiles from results when Claude invokes the [Glob tool](\/docs\/en\/tools-reference#glob-tool-behavior). Included by default. Does not affect `@` file autocomplete, `ls`, Grep, or Read","description_source":"docs","described_by":{"doc":"claude-code\/env-vars","title":"Environment variables"},"presence":{"first_seen":"2.1.138","removed_in":null,"in_current_build":true,"newest_mined":"2.1.309","builds":150,"mined_builds":150,"first_cited":null},"aliases":[],"entries":[{"version":"2.1.251","anchor":"glob-s-ignore-and-hidden-file-behaviour-is-env-controlled","heading":"Glob's ignore and hidden-file behaviour is env-controlled","line":"Two env vars control whether Glob searches ignored files and dotfiles.","released_at":"2026-08-28 15:34:26","reason":"named in this entry, found in this entry's text"}],"entries_total":1,"docs":[{"source":"claude-code","path":"env-vars","title":"Environment variables","documented":true}],"docs_total":1,"gates":[],"related":[{"name":"CLAUDE_CODE_GLOB_NO_IGNORE","slug":"claude-code-glob-no-ignore","description":"Set to `false` to make the [Glob tool](\/docs\/en\/tools-reference#glob-tool-behavior) respect `.gitignore` patterns. By default, Glob returns all matching files including gitignored ones. Does not affect `@` file autocomplete, which has its own [`respectGitignore` setting](\/docs\/en\/settings-reference#respectgitignore)"},{"name":"CLAUDE_CODE_GLOB_TIMEOUT_SECONDS","slug":"claude-code-glob-timeout-seconds","description":"Timeout in seconds for Glob tool file discovery. Defaults to 20 seconds on most platforms and 60 seconds on WSL"}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/claude-code-glob-hidden","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}