Permalink
Browse files

brew: fix disclaimer shown if mkdir is aliased

Fixes #5623.
  • Loading branch information...
1 parent fe96d19 commit 62b0abdb6e4bedc0c28f97176bd76f74859d82ea @mcornella mcornella committed Nov 11, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugins/brew/brew.plugin.zsh
@@ -3,7 +3,7 @@ alias bubo='brew update && brew outdated'
alias bubc='brew upgrade && brew cleanup'
alias bubu='bubo && bubc'
-if mkdir "$ZSH_CACHE_DIR/.brew-completion-message" 2>/dev/null; then
+if command mkdir "$ZSH_CACHE_DIR/.brew-completion-message" 2>/dev/null; then
print -P '%F{yellow}'Oh My Zsh brew plugin:
cat <<-'EOF'

0 comments on commit 62b0abd

Please sign in to comment.