These files are always sourced (never executed directly), so the #!/bin/bash shebang is inert and misleading. Drop it consistently across rc.d/*, profile.d/*, and aliases.d/*.
5 lines
81 B
Plaintext
5 lines
81 B
Plaintext
if (command -v kubectl &> /dev/null)
|
|
then
|
|
source <(kubectl completion bash)
|
|
fi
|