Files
Laszlo Nagy e72d69e6ba config: replace directories with direct env lookup
bear/src/config/loader.rs was the only consumer of the directories
crate. Replace BaseDirs / ProjectDirs with a small per-platform
resolver (XDG_CONFIG_HOME or $HOME/.config on Unix; LOCALAPPDATA /
APPDATA on Windows). Drops directories, dirs-sys, and option-ext
from the graph.

Behavior changes (silent for affected users):
- macOS no longer probes ~/Library/Application Support/. CLI tools
  on macOS should use ~/.config/, matching git, gh, nvim, fish,
  ripgrep, helix, etc. Bear's INSTALL.md already nudges macOS users
  toward ~/.config for fish completions.
- Windows path flattens from \rizsotto\Bear\config\ to \Bear\,
  paralleling the Unix Bear/ subdir.

Documentation updates: a new FILES section in man/bear.1.md lists
the concrete search order; the rustdoc on file_locations does the
same; man/bear.1 regenerated.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-27 10:44:08 +00:00
..