#!/bin/bash echo 'source <(kubectl completion bash)' >>~/.bashrc # Reload sourcefile again (located on home) source .bashrc