fix: add initExtraFirst with basic PATH for brew and system binaries

This commit is contained in:
mikl 2026-07-01 00:30:00 +03:00
parent c0d4a0df41
commit af14e5d38e

View file

@ -46,7 +46,12 @@
ff = "fastfetch";
};
# Environment setup BEFORE everything else (fixes PATH issues)
# Fix PATH at the very beginning of .zshrc
initExtraFirst = ''
export PATH="/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:$PATH"
'';
# Environment setup (zshenv)
envExtra = ''
if [ -x "/opt/homebrew/bin/brew" ]; then
eval "$(/opt/homebrew/bin/brew shellenv)"