From 97b4ab76b8c3743187495599a1ca87c520665299 Mon Sep 17 00:00:00 2001 From: "Michael J. Cohen" Date: Mon, 6 Sep 2021 05:31:56 -0400 Subject: [PATCH] fix(chruby): fix typo in test for Homebrew path (#9887) --- plugins/chruby/chruby.plugin.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/chruby/chruby.plugin.zsh b/plugins/chruby/chruby.plugin.zsh index f7fedb5f2..32f0525aa 100644 --- a/plugins/chruby/chruby.plugin.zsh +++ b/plugins/chruby/chruby.plugin.zsh @@ -37,7 +37,7 @@ _homebrew-installed() { } _chruby-from-homebrew-installed() { - [ -r _brew_prefix ] &> /dev/null + [ -r $_brew_prefix ] &> /dev/null } _ruby-build_installed() {