Skip to content

Releases

v1.1.2

Choose a tag to compare

@Baune8D Baune8D released this 10 Oct 15:15
580cb0b
  • Off a Mac, all three hooks now exit before doing anything. The PATH hook already said nothing there, but it still wrote a PATH line to CLAUDE_ENV_FILE when it found Linuxbrew gnubin directories, putting one GNU build ahead of another. warn-old-bash.sh had no platform check, so a distribution's bash 4.4 or an older Git for Windows got "Fix: brew install bash".
  • The README has a new "Off a Mac" section. The copy-in route now says what the env block does elsewhere: harmless on Linux, but on Windows a bare CLAUDE_CODE_SHELL=bash may resolve to the WSL launcher (read from the 2.1.296 binary, not tested on Windows). A team on mixed OSes should commit only the hooks block.

v1.1.1

Choose a tag to compare

@Baune8D Baune8D released this 03 Oct 10:16
80b83b2
  • A gnubin that an earlier PATH entry shadows is now prepended. Previously the hook counted a gnubin as already winning whenever it sat ahead of /usr/bin, so an earlier directory with its own sed — or an empty, . or other relative entry, which resolves against whatever directory a command runs in — kept answering while the hook told the agent sed was GNU.
  • Where find and grep stayed the macOS builds, the agent's line now names them command find and command grep: the bare names are Claude Code's bfs and ugrep whatever PATH holds.

v1.1.0

Choose a tag to compare

@Baune8D Baune8D released this 03 Oct 09:37
721e326
  • On a Mac, the PATH hook now always tells the agent which commands are GNU (date, stat, xargs, awk, sed, tar, which), not only which stayed macOS. Silence let Platform: darwin and the auto-mode prompt's BSD/macOS note lead the agent to write BSD forms such as sed -i '', which GNU sed rejects. find and grep are never named, since Claude Code answers those two itself.

v1.0.1

Choose a tag to compare

@Baune8D Baune8D released this 20 Sep 20:01
541b463
  • The bash version check now asks the shell named by CLAUDE_CODE_SHELL for its version instead of the first bash on PATH, so the warning reflects the shell the Bash tool actually runs.

v1.0.0

Choose a tag to compare

@Baune8D Baune8D released this 20 Sep 20:01
edd5f59

Initial release.

  • settings.json env block that switches Claude Code's Bash tool from zsh to bash 5.
  • SessionStart hook that puts Homebrew's gnubin directories first on the Bash tool's PATH, so sed, date, stat, awk, tar, which and xargs resolve to the GNU builds.
  • Installable as a plugin via /plugin marketplace add Baune8D/claude-code-macos, or by copying the files into a repository.
  • Warns once at session start when the Bash tool is not running bash, or when the bash that won is still Apple's 3.2.
  • MIT license.