Skip to content

Fix Homebrew check and quote OMZ path - #1

Open
vagos wants to merge 1 commit into
skovhus:mainfrom
vagos:fix-brew-check-omz-quoting
Open

Fix Homebrew check and quote OMZ path#1
vagos wants to merge 1 commit into
skovhus:mainfrom
vagos:fix-brew-check-omz-quoting

Conversation

@vagos

@vagos vagos commented Aug 25, 2026

Copy link
Copy Markdown

test ! $(which brew) can misparse an empty or whitespace-containing command path when checking whether Homebrew is installed.
This replaces it with command -v brew and quotes the Oh My Zsh path used for the directory check and mkdir (handles cases when the path contains whitespace at any point).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant