Small usability improvements to Dockerfile
@@ -28,7 +28,9 @@ ENV PATH=$PATH:/usr/local/kubebuilder/bin
# RUN sed -i '/^completions=/a kubectl\ngo\ntask' "/home/vscode/.bashrc"
# Make kubectl completions work with 'k' alias
+RUN echo 'alias k=kubectl' >> "/home/vscode/.bashrc"
RUN echo 'complete -F __start_kubectl k' >> "/home/vscode/.bashrc"
+RUN echo 'source <(kubectl completion bash)' >> "/home/vscode/.bashrc"
# Setup go-task completions
RUN curl -sL "https://raw.githubusercontent.com/go-task/task/v3.0.0/completion/bash/task.bash" > "/home/vscode/.task.completion.sh" \
