From 4e1b5e733f2d1aac5d82a15e28939b70e1b892a1 Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Thu, 21 Apr 2022 14:25:58 -0700 Subject: [PATCH] Supress stderr on kubectl completions This suppresses 'Unsupported shell type "fish"' on presumably older kubectls. --- share/completions/kubectl.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/completions/kubectl.fish b/share/completions/kubectl.fish index 75ae15557..bc8f84f73 100644 --- a/share/completions/kubectl.fish +++ b/share/completions/kubectl.fish @@ -1 +1 @@ -kubectl completion fish | source +kubectl completion fish 2>/dev/null | source