diff --git a/share/chruby/auto.sh b/share/chruby/auto.sh index 88f3cb34..9eaf5b45 100644 --- a/share/chruby/auto.sh +++ b/share/chruby/auto.sh @@ -24,7 +24,7 @@ function chruby_auto() { fi } -if [[ -n "$ZSH_VERSION" ]]; then +if [[ -n "$ZSH_VERSION" ]] || [[ -n "${__bp_imported}" ]]; then if [[ ! "$preexec_functions" == *chruby_auto* ]]; then preexec_functions+=("chruby_auto") fi