From 06cc400229ac0e748490c1eba9d0812244fb9d44 Mon Sep 17 00:00:00 2001 From: All Your Code Date: Tue, 21 Apr 2020 08:30:26 +0200 Subject: [PATCH] Added OC completion (#1567) * Added OC completion * Instead of copy pasting the output, using the output directly * Replaced which command with _command_exists --- completion/available/oc.completion.bash | 1 + 1 file changed, 1 insertion(+) create mode 100644 completion/available/oc.completion.bash diff --git a/completion/available/oc.completion.bash b/completion/available/oc.completion.bash new file mode 100644 index 00000000..1e7b6815 --- /dev/null +++ b/completion/available/oc.completion.bash @@ -0,0 +1 @@ +_command_exists oc && source <(oc completion bash)