Skip to content

Commit 857eebb

Browse files
tylerwolfclaude
andcommitted
Fix antidote plugin loading and Homebrew PATH on fresh machines
antidote's bundle script is a zsh file that isn't executable, so running it from sh silently fails and produces an empty ~/.zsh_plugins.zsh. Run it explicitly with zsh. Add homebrew/path.zsh so interactive shells always get /opt/homebrew/bin in PATH — previously this relied on ~/.env-vars which is only written when Homebrew is first installed (not when it's pre-installed on the base image). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 1f69247 commit 857eebb

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

antidote/install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
eval "$(/opt/homebrew/bin/brew shellenv)"
33
brew install antidote || brew upgrade antidote
44
ANTIDOTE="$(brew --prefix)/opt/antidote/share/antidote/antidote"
5-
"$ANTIDOTE" bundle <"$DOTFILES/antidote/zsh_plugins.txt" >~/.zsh_plugins.zsh
6-
"$ANTIDOTE" update
5+
zsh "$ANTIDOTE" bundle <"$DOTFILES/antidote/zsh_plugins.txt" >~/.zsh_plugins.zsh
6+
zsh "$ANTIDOTE" update

homebrew/path.zsh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
eval "$(/opt/homebrew/bin/brew shellenv)"

0 commit comments

Comments
 (0)