Notes in April 2026

2 total Back to 2026

TIL: You can set IS_DEMO=1 to simplify the welcome screen of Claude Code. There are two types of welcome screens (shown below), and there’s no obvious logic behind which one appears for a given project — I found this annoying. After digging into it, I discovered an undocumented environment variable IS_DEMO1 that forces the simpler one. Run IS_DEMO=1 claude, or set it in Claude Code’s settings.json under the env key.

Type 1Type 1

Type 2Type 2

  1. I found this under a GitHub issue: anthropics/claude-code#2254

#64 TIL (Today I Learned) Apr 15, 2026

TIL: $TMPDIR is an environment variable set by macOS (not fish-specific) that points to a per-user temporary directory. Its value looks something like:

/var/folders/xx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/T/

The path is unique per user and per boot session — macOS generates it under /var/folders/. Files here are:

  • Automatically cleaned up by the system. macOS periodically purges files in /var/folders/ that haven’t been accessed recently (typically after 3 days of inactivity, managed by the periodic daily scripts). A reboot also clears them.
  • Not shared across users, since each user gets their own subdirectory.

On Linux, $TMPDIR is often unset; the conventional fallback is /tmp.

Page 1 / 1