aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--scripts/zsh_completion/_bazel2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/zsh_completion/_bazel b/scripts/zsh_completion/_bazel
index 5ae38d3d83..59588308a0 100644
--- a/scripts/zsh_completion/_bazel
+++ b/scripts/zsh_completion/_bazel
@@ -40,7 +40,7 @@ local curcontext="$curcontext" state line
: ${BAZEL_COMPLETION_PACKAGE_PATH:=%workspace%}
: ${BAZEL:=bazel}
-b() { ${BAZEL} --noblock_for_lock "$@"; }
+b() { ${BAZEL} --noblock_for_lock "$@" 2>/dev/null; }
# Default cache lifetime is 1 week
zstyle -s ":completion:${curcontext}:" cache-lifetime lifetime