Skip to content

Commit 62fd78b

Browse files
fumiya-kumeclaude
andcommitted
Remove duplicate brew shellenv from .zprofile
brew shellenv was being executed in both .zshenv and .zprofile, causing PATH duplication and increased shell startup time for login shells. Keep it only in .zshenv since that file is loaded for all shell types (login/non-login, interactive/non-interactive). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 194ed65 commit 62fd78b

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

home/.zprofile

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
# Homebrew
2-
if [[ -x /opt/homebrew/bin/brew ]]; then
3-
eval "$(/opt/homebrew/bin/brew shellenv)"
4-
elif [[ -x /usr/local/bin/brew ]]; then
5-
eval "$(/usr/local/bin/brew shellenv)"
6-
fi
7-
81
# PATH additions
92
export PATH="/Library/TeX/texbin:$PATH"
103
export PATH="$HOME/Library/Application Support/JetBrains/Toolbox/scripts:$PATH"

0 commit comments

Comments
 (0)